Commit Graph

235 Commits

Author SHA1 Message Date
levlam
d824cec905 Add get_custom_emoji_stickers_unlimited. 2023-02-01 03:48:06 +03:00
levlam
7596600548 Reload default chat photo custom emoji identifiers. 2023-02-01 02:35:57 +03:00
levlam
f6485e711e Add StickersManager::get_used_language_codes_string. 2023-01-25 20:25:23 +03:00
levlam
30cdbe69b6 Store emoji groups in the database. 2023-01-25 16:23:34 +03:00
levlam
b02f134798 Add td_api::EmojiCategoryType. 2023-01-24 21:38:53 +03:00
levlam
8730fd6f34 Add td_api::getEmojiCategories. 2023-01-24 18:11:02 +03:00
levlam
f51bea81e1 Support search by multiple emojis in getStickers. 2023-01-24 15:15:37 +03:00
levlam
e5b557f55c Improve function name. 2023-01-23 23:46:51 +03:00
levlam
e5441b5ed7 Support sticker_type in searchStickers. 2023-01-23 21:07:42 +03:00
levlam
b6fc03e3bb Add StickersManager::reload_found_stickers helper. 2023-01-23 19:58:34 +03:00
levlam
fac51c9819 Check provided custom emoji and sticker identifiers. 2023-01-23 12:50:39 +03:00
levlam
69c6a485ba Add sticker.id. 2023-01-23 12:18:51 +03:00
levlam
6f3d7ac308 Add td_api::getDefaultProfilePhotoCustomEmojiStickers. 2023-01-10 15:40:52 +03:00
levlam
84077d72dc Add td_api::getDefaultChatPhotoCustomEmojiStickers. 2023-01-10 15:23:07 +03:00
levlam
ad8f0c4146 Improve some spelling. 2023-01-16 12:59:43 +03:00
levlam
1a732db19e Explicitly fail some promises on closing. 2023-01-14 22:01:35 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
816c7d312a Combine sticker set reload queries. 2022-12-21 17:07:21 +03:00
levlam
0d4c918fea Reload emoji sticker sets once. 2022-12-21 15:18:42 +03:00
levlam
9cc023111d Add sticker.has_text_color. 2022-12-09 13:39:29 +03:00
levlam
01d7178272 Add source to do_reload_sticker_set. 2022-12-21 11:18:30 +03:00
levlam
af05db3f15 Add td::Hash and use it everywhere instead of unusable std::hash. 2022-11-23 19:37:32 +03:00
levlam
f702cad110 Wait for emoji reactions to be loaded once in getEmojiReaction. 2022-11-04 00:59:45 +03:00
levlam
82ab2da9c0 Pass promise to StickersManager::get_emoji_reaction. 2022-11-03 21:07:07 +03:00
levlam
e33dac507d Add getForumTopicDefaultIcons. 2022-10-27 10:06:13 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
d3a2df8858 Return stickers from getCustomEmojiReactionAnimations. 2022-09-30 15:55:46 +03:00
levlam
e39bd45086 Support search by keywords in getStickers. 2022-09-27 20:52:47 +03:00
levlam
4e78b4b65f Add helpers for sticker search. 2022-09-27 18:29:10 +03:00
levlam
ee04923ce1 Add lazy initialization for keyword_stickers_map_. 2022-09-27 16:16:36 +03:00
levlam
0c21d0d596 Save sticker keywords. 2022-09-27 00:20:13 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
999326d56a Locally add reaction to recent. 2022-09-12 20:17:14 +03:00
levlam
f85b79d9bc Add td_api::clearRecentReactions. 2022-09-12 19:37:45 +03:00
levlam
ece581b797 Load recent reactions. 2022-09-12 19:14:02 +03:00
levlam
7b6d0ea6b4 Load top reactions from server. 2022-09-12 17:28:58 +03:00
levlam
de1ed3275f Add td_api::getCustomEmojiReactionAnimations. 2022-09-12 15:44:37 +03:00
levlam
a33eb5233c Add td_api::getEmojiReaction. 2022-09-12 15:03:35 +03:00
levlam
d29d3674ba Replace updateReactions with updateActiveEmojiReactions. 2022-09-12 01:35:47 +03:00
levlam
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00
levlam
51ea826b6c Synchronously load custom emoji from database if they are to be shown as an animated emoji. 2022-09-05 21:04:08 +03:00
levlam
c5040d9fcd Locally move sticker set to top. 2022-09-04 21:35:11 +03:00
levlam
8e5f33e699 Process updateMoveStickerSetToTop update. 2022-09-02 18:35:57 +03:00
levlam
03af40bc08 Don't add themed premium statuses to recent. 2022-09-02 15:39:07 +03:00
levlam
2eba57276a Add td_api::getThemedPremiumStatuses. 2022-09-02 15:02:37 +03:00
levlam
663389f19d Support improved updateStickerSets. 2022-08-23 18:24:21 +03:00
levlam
092499a7c6 Use WaitFreeHashSet where appropriate. 2022-08-21 00:20:57 +03:00
levlam
9fddbf4ee8 Remove redundant parameters. 2022-08-17 21:40:03 +03:00
levlam
594aa2ff6d Use request promise in setStickerSetThumbnail. 2022-08-08 17:31:27 +03:00