Commit Graph

508 Commits

Author SHA1 Message Date
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 d0500988ac Remove checks that status.is_error in ResultHandler::on_error. 2023-01-07 23:36:55 +03:00
levlam cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam c05a6d9631 Improve class name. 2022-12-26 23:33:01 +03:00
levlam a4fc556e5e Minor improvements. 2022-12-26 14:58:31 +03:00
levlam f40a6ff477 Add StickerTypeFullInfo. 2022-12-21 23:25:31 +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 164848cb8f Allow to add emoji stickers to animations, photos and videos. 2022-12-20 14:04:22 +03:00
levlam 01c1bcc149 Support stickerSetNoCovered. 2022-12-20 13:31:59 +03:00
levlam 9cc023111d Add sticker.has_text_color. 2022-12-09 13:39:29 +03:00
levlam 8e7d5f5594 Update layer to 151. 2022-12-08 20:58:37 +03:00
levlam 01d7178272 Add source to do_reload_sticker_set. 2022-12-21 11:18:30 +03:00
levlam 4240026bf7 Check that sticker is still in the set before using it. 2022-12-17 21:14:39 +03:00
levlam 3ec53c8d78 Fix compilation error. 2022-11-24 15:25:15 +03:00
levlam 0b387a61ad Add source to dup_file_id. 2022-11-21 11:40:43 +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 579d1dee8d Improve logging. 2022-11-03 11:17:43 +03:00
levlam cfad15eb17 Allow bots to get default topic icons. 2022-11-01 18:38:07 +03:00
levlam e33dac507d Add getForumTopicDefaultIcons. 2022-10-27 10:06:13 +03:00
levlam e079b684f0 Various improvements. 2022-10-20 13:28:07 +03:00
levlam ea12905dd2 Mark reactions as loaded after saving them to database just in case. 2022-10-19 18:06:33 +03:00
levlam 87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam 6319862890 Improve some emplace_back/push_back usage. 2022-10-27 12:53:53 +03:00
levlam de5379f00b Add more checks for close_status. 2022-10-13 14:51:00 +03:00
levlam aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam 39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +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 7ccaaf3b70 Update layer to 147. 2022-09-26 20:00:45 +03:00
levlam a3bb5913a7 Improve clicked animated emoji zoom. 2022-09-26 16:13:57 +03:00
levlam 35058bb6a7 Add animatedEmoji.sticker_width/sticker_height. 2022-09-25 23:40:42 +03:00
levlam 12a8a5dbda Fix error handling in ReadFeaturedStickerSetsQuery. 2022-09-18 21:57:13 +03:00
levlam 30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam 38fbd00e99 Add and use get_reactions_hash. 2022-09-12 21:55:30 +03:00
levlam 8e5dccbdb5 Fix updating of active reactions in MessagesManager. 2022-09-12 21:39:23 +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 ce9175a00b Always use "must be non-empty". 2022-09-10 22:48:34 +03:00
levlam c6d5bbb151 Remove class AvailableReaction. 2022-09-08 17:45:19 +03:00