levlam
|
05625491ba
|
Cache found stickers in database.
|
2022-08-08 00:55:22 +03:00 |
|
levlam
|
2bf7b1e90a
|
Optimize split_stickers_by_premium.
|
2022-08-07 21:10:15 +03:00 |
|
levlam
|
5304ac7ccf
|
Optimize installed premium stickers traversal in getPremiumStickers.
|
2022-08-07 20:35:13 +03:00 |
|
levlam
|
36d7adef38
|
Unify field naming in private StickersManager classes.
|
2022-08-07 19:47:50 +03:00 |
|
levlam
|
e80e4304a4
|
Return stickers from installed sticker sets in getPremiumStickers.
|
2022-08-07 00:33:16 +03:00 |
|
levlam
|
643cecbc16
|
Consider "disable_animated_emojis" option for custom emojis.
|
2022-08-05 21:56:05 +03:00 |
|
levlam
|
cb0daf0bef
|
Resolve custom animated emoji stickers.
|
2022-08-05 20:49:24 +03:00 |
|
levlam
|
3c863517ba
|
Return messageAnimatedEmoji for single custom emoji.
|
2022-08-05 17:58:16 +03:00 |
|
levlam
|
feafa4aacc
|
Add chat_id to getStickers.
|
2022-08-05 14:06:06 +03:00 |
|
levlam
|
779090f4dd
|
Add more WaitFree* classes usages.
|
2022-08-04 14:48:10 +03:00 |
|
levlam
|
bb5d8c0c8d
|
Use WaitFreeHashMap in StickersManager.
|
2022-08-03 22:42:52 +03:00 |
|
levlam
|
33623f9818
|
Remove unused can_delete_old parameter.
|
2022-08-03 21:38:03 +03:00 |
|
levlam
|
0f77d5c871
|
Use request promise in td_api::searchStickers.
|
2022-08-01 18:50:08 +03:00 |
|
levlam
|
36c6b84ec8
|
Add remove_premium_custom_emoji_entities.
|
2022-07-27 23:36:44 +03:00 |
|
levlam
|
7cdf1a05bb
|
Update custom emoji once a day.
|
2022-07-26 19:29:37 +03:00 |
|
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
|
40b5b586e6
|
Add sticker_type to getStickers.
|
2022-07-24 14:53:48 +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
|
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
|
771b6d3991
|
Add td_api::getCustomEmojiStickers.
|
2022-07-19 16:00:04 +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
|
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
|
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
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +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
|
e9a8d43a0a
|
Add td_api::getAllAnimatedEmojis.
|
2022-05-23 14:05:35 +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
|
014b458425
|
Add Dimensions.h.
|
2022-06-02 17:52:12 +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
|
88b9f35b91
|
Add PhotoSize.h.
|
2022-04-10 01:15:49 +03:00 |
|
levlam
|
05c0833525
|
Add PhotoFormat.h.
|
2022-04-09 23:21:07 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +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
|
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
|
a972252a46
|
Support creation of WEBM sticker packs.
|
2022-01-25 16:56:10 +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
|
aa8a4979df
|
Asynchronously save emoji keywords.
|
2021-12-12 23:50:05 +03:00 |
|
levlam
|
39a8621182
|
Load special sticker sets from database before reloading them from server.
|
2021-12-01 22:05:40 +03:00 |
|
levlam
|
3b1ec88067
|
Reload special sticker sets only once simultaneously.
|
2021-12-01 20:30:02 +03:00 |
|
levlam
|
37d5a59422
|
Pass SpecialStickerSetType to add_special_sticker_set.
|
2021-12-01 19:59:45 +03:00 |
|
levlam
|
6143bb1b94
|
Replace color_replacements with fitzpatrick_type as needed by the latest rlottie version.
|
2021-11-23 15:01:12 +03:00 |
|
levlam
|
9b5bc5f4f3
|
Use hash in GetStickerSetQuery.
|
2021-11-19 13:56:12 +03:00 |
|
levlam
|
6ace4fdf36
|
Update layer to 135.
|
2021-11-09 19:07:55 +03:00 |
|
levlam
|
6dd7c73765
|
Add source to store_sticker_set.
|
2021-11-14 10:19:03 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
6893c49be7
|
Add td_api::getAnimatedEmoji.
|
2021-10-26 17:59:15 +03:00 |
|
levlam
|
1dd054d896
|
Add const get_animated_emoji_object.
|
2021-10-26 16:50:18 +03:00 |
|
levlam
|
9addfaf6fe
|
Add class td_api::animatedEmoji.
|
2021-10-26 16:15:01 +03:00 |
|
levlam
|
bcf0316432
|
Zoom sticker's outline.
|
2021-10-14 01:06:12 +03:00 |
|
levlam
|
cbca467991
|
Adjust dimensions of animated emojis.
|
2021-10-14 00:18:44 +03:00 |
|
levlam
|
f70498898b
|
Add fileSourceAppConfig.
|
2021-10-08 13:41:22 +03:00 |
|
levlam
|
038abf5466
|
Add sound to messageAnimatedEmoji.
|
2021-10-05 23:20:49 +03:00 |
|
levlam
|
9fb1f1438e
|
Add color replacements to messageAnimatedEmoji.
|
2021-10-05 18:42:05 +03:00 |
|
levlam
|
aae781295c
|
Improve updating animated emoji stickers.
|
2021-10-05 18:06:05 +03:00 |
|
levlam
|
eb20f82730
|
Add disable_animated_emoji option.
|
2021-10-05 17:17:29 +03:00 |
|
levlam
|
ffe03ecb10
|
Add messageAnimatedEmoji.
|
2021-10-05 16:12:04 +03:00 |
|
levlam
|
77158cd7a5
|
Register emoji messages.
|
2021-10-04 16:08:51 +03:00 |
|
levlam
|
5642947198
|
Simplify send_update_recent_stickers usage.
|
2021-11-01 01:35:39 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
ef1bfc7c3e
|
Improve field names.
|
2021-09-24 16:53:42 +03:00 |
|
levlam
|
fbd2309b37
|
Don't remove emoji modifiers in chat action emojis.
|
2021-09-23 17:16:59 +03:00 |
|
levlam
|
53f9b0438e
|
Optimize remove_emoji_modifiers usages.
|
2021-09-20 13:45:49 +03:00 |
|
levlam
|
22cd853249
|
Delay responses to clickAnimatedEmojiMessage.
|
2021-09-19 20:43:47 +03:00 |
|
levlam
|
3883ffcc75
|
Check emoji in incoming chatActionEnjoyingAnimations.
|
2021-09-19 01:52:56 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
95d4ec8973
|
Simplify updateAnimatedEmojiMessageClicked.
|
2021-09-17 23:36:25 +03:00 |
|
levlam
|
b15244f59d
|
Ensure delay of 0.2 seconds between updateAnimatedEmojiMessageClicked animations.
|
2021-09-17 19:59:31 +03:00 |
|
levlam
|
6d21161f70
|
Add get_animated_emoji_stickers.
|
2021-09-17 16:58:20 +03:00 |
|
levlam
|
5de53e09eb
|
Add updateAnimatedEmojiMessageClicked.
|
2021-09-17 15:51:42 +03:00 |
|
levlam
|
f0c2f8f124
|
Prepare sendMessageEmojiInteraction.
|
2021-09-16 23:22:34 +03:00 |
|
levlam
|
5fd11e4b7a
|
Add td_api::clickAnimatedEmojiMessage.
|
2021-09-16 00:41:40 +03:00 |
|
levlam
|
41c391f140
|
Update layer to 133.
|
2021-09-03 12:27:59 +03:00 |
|
levlam
|
c03621d72c
|
Add CHECK debug.
|
2021-09-13 16:03:21 +03:00 |
|
levlam
|
cf7c14fb59
|
Remove unneeded document.is_changed.
|
2021-08-26 18:50:28 +03:00 |
|
levlam
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +03:00 |
|
levlam
|
7e543cf80b
|
Allow to use uploadStickerFile for animated stickers.
|
2021-06-21 22:25:26 +03:00 |
|
levlam
|
16f52b59ab
|
Add createNewStickerSet.source.
|
2021-06-18 18:45:57 +03:00 |
|
levlam
|
9440925711
|
Move some classes inside corresponding managers.
|
2021-06-18 03:06:20 +03:00 |
|
levlam
|
84cf82583e
|
Add td_api::checkStickerSetName.
|
2021-06-17 21:29:07 +03:00 |
|
levlam
|
706647bdbc
|
Add the method getSuggestedStickerSetName.
|
2021-06-17 20:38:03 +03:00 |
|
levlam
|
fe6fe481f6
|
Add document ID to SVG path warnings.
|
2021-03-02 04:48:02 +03:00 |
|
levlam
|
a36f020084
|
Improve StickersManager::has_webp_thumbnail.
|
2021-03-01 23:48:48 +03:00 |
|
levlam
|
2bc3d7424b
|
Improve logging of unsupported SVG paths.
|
2021-03-01 04:19:50 +03:00 |
|
levlam
|
dc45d89848
|
Make searchStickers response cache time-bound.
|
2021-01-15 14:54:07 +03:00 |
|
levlam
|
cb24fd8037
|
Add struct FoundStickers.
|
2021-01-15 14:01:59 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
bbde4f32c6
|
Allow to specify emoji for sent stickers.
|
2020-12-19 14:31:42 +03:00 |
|
levlam
|
1da1a14255
|
Represent sticker contours as vector path.
|
2020-12-02 18:45:06 +03:00 |
|
levlam
|
3ff1f6cec1
|
Add sticker cover to API.
|
2020-11-20 16:22:07 +03:00 |
|
levlam
|
d22dabfdaf
|
Update layer to 121.
|
2020-11-09 23:41:23 +03:00 |
|
levlam
|
dc12edbde1
|
Return back 0 as default next load time.
|
2020-11-23 20:33:35 +03:00 |
|
levlam
|
5cbf90e4a0
|
Safer work with negative monotonic time.
|
2020-11-21 16:34:39 +03:00 |
|
levlam
|
0efc6ee617
|
Reload all sticker sets once to drop legacy photo locations.
GitOrigin-RevId: 2ab5e1ba035ea3946a733a06e44cc1f7b327cd36
|
2020-10-31 01:32:18 +03:00 |
|
levlam
|
fd9732dcfa
|
Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
|
2020-10-15 15:59:51 +03:00 |
|
levlam
|
c9929b9528
|
Do not load dice sticker sets before init.
GitOrigin-RevId: f9c26c05c433a31e97b2fb8bcdcf5344dfe041c0
|
2020-06-04 01:19:37 +03:00 |
|
levlam
|
6e42d79769
|
Replace emoji with icon_mane in chat filters.
GitOrigin-RevId: 61b30d075e330a92935ea2c8cfc0bf78fb32958b
|
2020-06-01 16:55:31 +03:00 |
|
levlam
|
52ea0998ec
|
Allow to pass multiple input language codes in searchEmojis.
GitOrigin-RevId: 0fb99694447f3ac02063eb9c03af2c2b3dfc267e
|
2020-04-22 15:17:53 +03:00 |
|
levlam
|
c96f62b34f
|
Assume Russian language in searchEmojis with Cyrillic text.
GitOrigin-RevId: e9f0212882bafadde17f49a345847f4df8010e73
|
2020-04-22 15:02:56 +03:00 |
|
levlam
|
851d23f06c
|
Add messageDice.success_animation_frame_number.
GitOrigin-RevId: d0afff34c7d74fe5e06b008b7a8438be4aebe88b
|
2020-04-21 19:08:01 +03:00 |
|
levlam
|
8109988247
|
Add messageDice.need_success_animation.
GitOrigin-RevId: 1c308f71d628d896321ce331c634a6868f504bc0
|
2020-04-21 14:51:46 +03:00 |
|
levlam
|
84ecb75f5d
|
Automatically load dice stickers.
GitOrigin-RevId: cc5478256fdfa9d898f54b8a372437e0ad2a2c34
|
2020-04-20 00:41:26 +03:00 |
|
levlam
|
0fe8cc5250
|
Support arbitrary dice sticker sets.
GitOrigin-RevId: 46e3d636c79dfddf15dadf9794fb900a6b27a53a
|
2020-04-19 16:30:04 +03:00 |
|
levlam
|
fc3a8105a3
|
Add updateDiceEmojis.
GitOrigin-RevId: 8495528763939fda21e04eac8555aaed975ded62
|
2020-04-19 11:17:51 +03:00 |
|
levlam
|
06135cccf9
|
Add parameters offset and limit to getTrendingStickerSets.
GitOrigin-RevId: 360c14f4cd357d23c3537ab26ee55a5b5ed29e81
|
2020-04-18 01:55:54 +03:00 |
|
levlam
|
b343e148e8
|
Do not iniitalize stickers manager before authorization.
GitOrigin-RevId: 497a09aeb0c7f8cadb00902d1ceeceaa144c0885
|
2020-04-17 16:12:12 +03:00 |
|
levlam
|
6225237cb9
|
Add td_api::updateStickerSet.
GitOrigin-RevId: 4c4299138929e45a2c5a044895f18bd49045256a
|
2020-04-17 15:56:57 +03:00 |
|
levlam
|
34eb79bbb5
|
Add StickerSet.need_save_to_database.
GitOrigin-RevId: 90a1be59896d9cc5c49af536f6329791de3fe9d1
|
2020-04-17 15:06:08 +03:00 |
|
levlam
|
f153539ea2
|
Support creation of animated sticker sets by bots.
GitOrigin-RevId: d75133cf70b667cbdf6dc555cc06f2b43f9c8609
|
2020-03-23 18:03:13 +03:00 |
|
levlam
|
05253ca35e
|
Add td_api::setStickerSetThumbnail.
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
|
2020-03-20 16:36:07 +03:00 |
|
levlam
|
d6850e891e
|
Add "animated_dice_sticker_set_name" option.
GitOrigin-RevId: b20ac808e74435c39acdb9f051ba11f77aa236af
|
2020-03-14 03:47:19 +03:00 |
|
levlam
|
dcb15d0a13
|
Asynchronously reload emoji keywords languages after restart.
GitOrigin-RevId: 1f24d44c715d96aead91402fdc7f6d7abf04d041
|
2020-01-08 19:25:36 +03:00 |
|
levlam
|
3659757dc3
|
Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
|
2020-01-08 19:07:40 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
ba5ccf48c6
|
Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
|
2019-12-29 04:59:34 +03:00 |
|
levlam
|
c3d470a27c
|
Remove unneeded add_*_inner proxy functions.
GitOrigin-RevId: ef4e8233590c1d4133c65275474c32f7f985d217
|
2019-11-30 21:22:40 +03:00 |
|