Commit Graph

7179 Commits

Author SHA1 Message Date
levlam
191c732245 Fix CreateSecretChat parsing. 2021-09-22 10:23:06 +03:00
levlam
b6bde1e4c5 Move remove_emoji_modifiers to emoji.h. 2021-09-21 06:32:34 +03:00
levlam
3af0059b94 Add is_emoji method. 2021-09-20 22:30:23 +03:00
levlam
0126cec268 Improve documentation. 2021-09-20 16:26:44 +03:00
levlam
53f9b0438e Optimize remove_emoji_modifiers usages. 2021-09-20 13:45:49 +03:00
levlam
057cee8674 Improve name of the chatActionWatchingAnimations chat action. 2021-09-19 21:40:07 +03:00
levlam
a7dcbe8c18 Update version to 1.7.8. 2021-09-19 20:55:47 +03:00
levlam
0f2735b6a1 Ignore too often animated emoji clicks. 2021-09-19 20:52:46 +03:00
levlam
22cd853249 Delay responses to clickAnimatedEmojiMessage. 2021-09-19 20:43:47 +03:00
levlam
d04aed1146 Fix CHECK. 2021-09-19 20:20:58 +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
551103a084 Send updateAnimatedEmojiMessageClicked only in opened chats. 2021-09-18 21:26:22 +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
4cbf3f6146 Choose another sticker each time if there is more than 1 variant. 2021-09-17 17:59:07 +03:00
levlam
a54b37a8d8 Use sticker for red heart if there is no dedicated sticker for a colored heart. 2021-09-17 17:18:39 +03:00
levlam
6d21161f70 Add get_animated_emoji_stickers. 2021-09-17 16:58:20 +03:00
levlam
055e02f9c0 Send sendMessageEmojiInteraction typings. 2021-09-17 16:16:34 +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
a3fefcd18b Add (disabled) logging on inconsistent update*Participant. 2021-09-15 18:36:45 +03:00
Andrea Cavalli
a7dc52ff86 Fix compilation error 2021-09-15 16:55:35 +02:00
Andrea Cavalli
714591bdd9 Merge remote-tracking branch 'td/master' 2021-09-15 16:18:56 +02:00
levlam
bee2893533 Add missing include. 2021-09-15 17:16:23 +03:00
levlam
499e903c95 Add chatActionEnjoyingAnimations. 2021-09-15 17:11:44 +03:00
Andrea Cavalli
6e1836a024 Merge remote-tracking branch 'td/master' 2021-09-15 16:03:11 +02:00
levlam
dcd8f3bfd0 Add animated_emoji_click_sticker_set_name. 2021-09-15 14:44:11 +03:00
levlam
8f97a6dc00 Recommend installing gperf through vcpkg in examples. 2021-09-15 10:00:34 +03:00
levlam
457ab66fe7 Fix gperf install instructions through vcpkg. 2021-09-15 09:26:40 +03:00
Andrea Cavalli
71c2330749 Merge remote-tracking branch 'td/master' 2021-09-14 23:58:34 +02:00
levlam
02ae56ae8a Improve validness checks for UserId/ChatId/ChannelId. 2021-09-14 17:09:40 +03:00
levlam
ded0b57905 Add td_api::getRecentlyOpenedChats. 2021-09-14 14:18:37 +03:00
levlam
27d4810cb1 Add check that message isn't nullptr. 2021-09-14 13:44:26 +03:00
levlam
f98eeda616 Add flag backgroundTypePattern.is_inverted instead of negative intensity. 2021-09-14 12:53:59 +03:00
levlam
5a85c8a95b Improve error message. 2021-09-14 12:16:29 +03:00
levlam
d9a0168bfa Improve logging in G_impl. 2021-09-14 11:54:54 +03:00
levlam
55ad2e5f86 Load recent dialogs in one pass. 2021-09-14 11:31:21 +03:00
levlam
fa65e429eb Return void from RecentDialogList::load_dialogs. 2021-09-14 10:16:20 +03:00
levlam
dc35dea8a3 Use SliceBuilder in RecentDialogList::save_dialogs. 2021-09-13 21:47:11 +03:00
levlam
a68163b94c Simplify and optimize RecentDialogList::load_dialogs. 2021-09-13 21:36:07 +03:00
levlam
4b641df524 Load recent dialogs before adding/removing them. 2021-09-13 21:30:48 +03:00
levlam
77c8eb9617 Add promise to RecentDialogList::get_dialogs. 2021-09-13 20:52:17 +03:00
levlam
5bec536803 Add class RecentDialogList. 2021-09-13 20:34:57 +03:00
levlam
5379c66acb Improve documentation. 2021-09-13 16:46:01 +03:00
levlam
c03621d72c Add CHECK debug. 2021-09-13 16:03:21 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
a838fff28f Add operator== for ThemeSettings. 2021-09-12 22:39:52 +03:00
levlam
196128b2f1 Update chat theme cache after receiving telegram_api::updateTheme. 2021-09-12 22:29:40 +03:00