levlam
|
59a27e3b15
|
Get from the server only unknown custom emoji.
|
2022-07-26 18:48:18 +03:00 |
|
levlam
|
e96a1995a2
|
Load custom emoji from database,
|
2022-07-25 23:04:53 +03:00 |
|
levlam
|
f20f015caa
|
Save custom emoji to database.
|
2022-07-25 21:18:43 +03:00 |
|
levlam
|
4e9c7ffbf2
|
Return custom emoji from in-memory cache if possible.
|
2022-07-24 19:54:15 +03:00 |
|
levlam
|
8183e062ab
|
Handle installed sticker sets of incorrect type in the database.
|
2022-07-24 15:03:54 +03:00 |
|
levlam
|
40b5b586e6
|
Add sticker_type to getStickers.
|
2022-07-24 14:53:48 +03:00 |
|
levlam
|
99ae4ada88
|
Access arrays with pre-casted sticker type.
|
2022-07-24 14:01:58 +03:00 |
|
levlam
|
f26a33b3d3
|
Implement StickersManager::is_premium_custom_emoji.
|
2022-07-22 19:06:39 +03:00 |
|
levlam
|
d361d6e8a1
|
Add StickersManager::get_custom_emoji_id.
|
2022-07-22 18:27:12 +03:00 |
|
levlam
|
97ab564e07
|
Prepare for removing premium custom emoji if have no premium.
|
2022-07-22 18:11:55 +03:00 |
|
levlam
|
813867eb66
|
Improve special sticker set loading.
|
2022-07-22 15:40:24 +03:00 |
|
levlam
|
a81740892d
|
Add messageGiftedPremium.sticker.
|
2022-07-22 15:01:44 +03:00 |
|
levlam
|
61fe5d0df5
|
Register GiftPremium messages.
|
2022-07-22 13:30:24 +03:00 |
|
levlam
|
b5468e4cac
|
Move out StickerType from inputSticker.
|
2022-07-21 17:31:27 +03:00 |
|
levlam
|
342bf8c41f
|
Preload sticker set before adding a sticker to it.
|
2022-07-21 16:06:58 +03:00 |
|
levlam
|
310c4d1b6a
|
Always try to fetch mask_position.
|
2022-07-21 15:54:43 +03:00 |
|
levlam
|
7d94cc9aa8
|
Remove some unneeded logging.
|
2022-07-20 18:01:26 +03:00 |
|
levlam
|
771b6d3991
|
Add td_api::getCustomEmojiStickers.
|
2022-07-19 16:00:04 +03:00 |
|
levlam
|
ba3f24ed8d
|
Rename stickerTypeEmoji to stickerTypeCustomEmoji.
|
2022-07-19 14:51:29 +03:00 |
|
levlam
|
219d5ecf87
|
Add sticker.custom_emoji_id.
|
2022-07-19 14:45:37 +03:00 |
|
levlam
|
585191bb6f
|
Process stickerSetFullCovered.
|
2022-07-18 21:44:44 +03:00 |
|
levlam
|
fd6684ab9d
|
Disallow sending, adding to favorite and recent for emoji stickers.
|
2022-07-18 14:51:37 +03:00 |
|
levlam
|
7cd65d06a1
|
Support emoji stickers in get_max_sticker_file_size.
|
2022-07-17 23:49:46 +03:00 |
|
levlam
|
4442293acf
|
Support trending emoji sticker sets.
|
2022-07-17 22:39:22 +03:00 |
|
levlam
|
32c7bd8bcd
|
Support thumbnail_document_id.
|
2022-07-16 17:22:30 +03:00 |
|
levlam
|
d506c4732a
|
Add getPremiumGiftOptionSticker.
|
2022-07-15 16:15:59 +03:00 |
|
levlam
|
d3b9b3b7c4
|
Support premium gifts special sticker set.
|
2022-07-15 15:24:08 +03:00 |
|
levlam
|
3bfb3cdbb1
|
Add explicit flag sticker.is_premium.
|
2022-07-15 13:37:46 +03:00 |
|
levlam
|
ea8f81187e
|
Support documentAttributeCustomEmoji.
|
2022-07-14 17:11:36 +03:00 |
|
levlam
|
5bdc4e207b
|
Add stickerTypeEmoji.
|
2022-07-14 16:42:27 +03:00 |
|
levlam
|
c34f5d063b
|
Use StickerType instead of is_masks everywhere.
|
2022-07-14 16:17:19 +03:00 |
|
levlam
|
b447c32fe9
|
Add class StickerType.
|
2022-07-14 15:02:55 +03:00 |
|
levlam
|
a896edcd14
|
Move mask_position out of stickerTypeMask.
|
2022-07-14 14:38:25 +03:00 |
|
levlam
|
7d5dc9fd16
|
Split sticker format and sticker type in API.
|
2022-07-14 13:58:33 +03:00 |
|
levlam
|
e38615b71e
|
Update layer to 144.
|
2022-07-01 14:33:59 +03:00 |
|
levlam
|
4cf1e02479
|
Add multiarg version of Scheduler::destroy_on_scheduler.
|
2022-07-22 21:21:30 +03:00 |
|
levlam
|
0f87447ffc
|
Asynchronously destroy some big data storages.
|
2022-07-20 13:40:14 +03:00 |
|
levlam
|
bedec2c9ba
|
Add StickersManager::get_sticker_set_thumbnail_object.
|
2022-07-16 15:45:30 +03:00 |
|
levlam
|
7618c9aa64
|
Add get_sticker_type function.
|
2022-07-13 23:02:46 +03:00 |
|
levlam
|
d489014350
|
Compare stickers and animation by their remote ID when remove them from recent/saved.
|
2022-07-03 12:17:04 +03:00 |
|
levlam
|
2f17f55305
|
Don't dup stickers in a set.
|
2022-07-03 11:53:01 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
375d3d23fb
|
Fix handling of stickerSetNotModified.
|
2022-06-21 17:34:24 +03:00 |
|
levlam
|
86c130a462
|
Minor fixes.
|
2022-06-21 02:55:53 +03:00 |
|
levlam
|
b6019f25e4
|
Improve sticker order for trending sticker sets.
|
2022-06-18 11:16:32 +03:00 |
|
levlam
|
f1247493c5
|
Add class trendingStickerSets.
|
2022-06-17 19:16:17 +03:00 |
|
levlam
|
dc8903fc71
|
Allow to get stcikerSetInfo with preferred premium stickers.
|
2022-06-17 08:59:54 +03:00 |
|
levlam
|
762b1577e9
|
Add StickersManager::split_stickers_by_premium.
|
2022-06-16 21:12:20 +03:00 |
|
levlam
|
63e55553f5
|
Improve stickers order in getStickers.
|
2022-06-10 14:31:28 +03:00 |
|
levlam
|
cb98c0a10a
|
Add class AvailableReaction.
|
2022-06-09 01:07:53 +03:00 |
|
levlam
|
2570044eba
|
Return, whether available reaction needs premium.
|
2022-06-08 17:34:13 +03:00 |
|
levlam
|
8fae960e43
|
Support premium stickers in secret chats.
|
2022-06-03 17:31:48 +03:00 |
|
levlam
|
e9a8d43a0a
|
Add td_api::getAllAnimatedEmojis.
|
2022-05-23 14:05:35 +03:00 |
|
levlam
|
0909f88bc3
|
Use int53 for file size in TDLib API.
|
2022-05-11 17:17:20 +03:00 |
|
levlam
|
880a582959
|
Add layer 143 to secret chats.
|
2022-05-11 07:46:06 +03:00 |
|
levlam
|
447cfbfb1d
|
Support premium stickers.
|
2022-04-26 16:01:29 +03:00 |
|
levlam
|
f8077965ad
|
Support premium reactions.
|
2022-04-26 14:40:06 +03:00 |
|
levlam
|
a90dd653af
|
Avoid logging to error if invalid dimensions were provided by app.
|
2022-05-26 17:13:31 +03:00 |
|
levlam
|
de5f047dba
|
Remove all emoji modifiers, including modifiers in the middle.
|
2022-05-12 18:02:27 +03:00 |
|
levlam
|
6790c309ac
|
Move data reloading to UpdatesManager.
|
2022-05-12 16:34:13 +03:00 |
|
levlam
|
f9f309d334
|
Simplify SecretInputMedia creation.
|
2022-05-11 01:53:18 +03:00 |
|
levlam
|
4652292037
|
Use count instead of find if appropriate.
|
2022-05-01 23:03:06 +03:00 |
|
levlam
|
dc79b35570
|
Check for duplicate calls to init().
|
2022-04-26 02:06:35 +03:00 |
|
levlam
|
402f75153b
|
Improve get_sticker_set_short_name usages.
|
2022-04-17 23:07:00 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
37123a50ff
|
Don't create vectors using set iterators.
|
2022-03-12 13:22:07 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
deafeee33b
|
Guess format of sent stickers by file extension.
|
2022-02-17 20:45:58 +03:00 |
|
levlam
|
a5ed61393c
|
Improve logging.
|
2022-02-17 18:42:50 +03:00 |
|
levlam
|
15f27455c5
|
Move other big classes inside FlatHashMap to unique_ptr.
|
2022-02-11 19:27:32 +03:00 |
|
levlam
|
fc73b94a59
|
Fix outline of animated sticker sets.
|
2022-02-11 18:07:56 +03:00 |
|
levlam
|
dc198f537c
|
Ignore stickerPack with an empty emoticon.
|
2022-02-11 17:46:57 +03:00 |
|
levlam
|
d5d4f4acf7
|
Fix remaining FlatHashMap usages.
|
2022-02-10 18:03:03 +03:00 |
|
levlam
|
2b1314295d
|
Check and fix half of FlatHashMap usages.
|
2022-02-10 00:59:52 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
f3bb075f62
|
Use InvokeAfter for all queries changing sticker sets.
|
2022-02-06 00:16:16 +03:00 |
|
levlam
|
d5d6e520e0
|
Fix creation of WEBM documents.
|
2022-01-31 20:41:11 +03:00 |
|
levlam
|
e503195e0e
|
Upload WEBM stickers as documents.
|
2022-01-31 20:22:07 +03:00 |
|
levlam
|
e1bd34cda8
|
Update scheme.
|
2022-01-29 01:53:50 +03:00 |
|
levlam
|
79f1890613
|
Use td_api::StickerType instead of td_api::StickerFormat.
|
2022-01-26 17:53:38 +03:00 |
|
levlam
|
eaf859409e
|
Check MIME-type of received stickers.
|
2022-01-26 17:30:57 +03:00 |
|
levlam
|
262d63564d
|
Fix misprint.
|
2022-01-26 17:25:55 +03:00 |
|
levlam
|
a972252a46
|
Support creation of WEBM sticker packs.
|
2022-01-25 16:56:10 +03:00 |
|
levlam
|
e2d1824edc
|
Add stickerFormatWebpMask.
|
2022-01-25 15:27:06 +03:00 |
|
levlam
|
d6bb83dc0e
|
Support WEBM stickers.
|
2022-01-25 14:58:04 +03:00 |
|
levlam
|
0d2b1c2072
|
Update layer to 138.
|
2022-01-25 12:36:30 +03:00 |
|
levlam
|
6001485409
|
Save reactions between restarts.
|
2022-01-24 16:43:38 +03:00 |
|
levlam
|
facb8f754a
|
Move list of active reactions to MessagesManager.
|
2022-01-19 18:59:48 +03:00 |
|
levlam
|
4e657b73ab
|
Return all reactions as available in private chats.
|
2022-01-19 18:10:16 +03:00 |
|
levlam
|
99586edf26
|
Add updateReaction.
|
2022-01-19 14:14:21 +03:00 |
|
levlam
|
4e172fc5c8
|
Add expected_format to on_get_sticker_document.
|
2022-01-18 19:28:32 +03:00 |
|
levlam
|
be2678ce94
|
Add enum StickerFormat.
|
2022-01-18 19:20:43 +03:00 |
|
levlam
|
3becacf304
|
Add chat.available_reactions and updateChatAvailableReactions.
|
2022-01-04 16:33:57 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
bbb4b68699
|
Fix MSVC 2015 warning.
|
2021-12-28 02:01:20 +03:00 |
|
levlam
|
eff87996a5
|
Match animated emoji without selectors.
|
2021-12-22 13:40:20 +03:00 |
|
levlam
|
d3780284fc
|
Remove wrong check.
|
2021-12-20 15:15:34 +03:00 |
|
levlam
|
b060536ae3
|
Return Result<...> from get_input_user.
|
2021-12-16 22:46:03 +03:00 |
|
levlam
|
aa8a4979df
|
Asynchronously save emoji keywords.
|
2021-12-12 23:50:05 +03:00 |
|