Commit Graph

517 Commits

Author SHA1 Message Date
levlam
23af1419d0 Support telegram_api::updateQuickReplyMessage. 2024-02-29 16:39:38 +03:00
levlam
b7ee5c2ada Support updateDeleteQuickReplyMessages. 2024-02-29 14:43:32 +03:00
levlam
77abbdba60 Support telegram_api::updateDeleteQuickReply. 2024-02-22 23:17:02 +03:00
levlam
70b45fc3db Support telegram_api::updateNewQuickReply. 2024-02-22 23:14:08 +03:00
levlam
dbc7bddf80 Support updateQuickReplies. 2024-02-22 20:12:06 +03:00
levlam
96ddf0441c Add td_api::getQuickReplyShortcuts. 2024-02-22 17:32:12 +03:00
levlam
ab1b7cf20f Add td_api::getTimeZones. 2024-02-19 22:12:28 +03:00
levlam
dc2300d7ae Update layer to 176. 2024-02-19 14:07:10 +03:00
levlam
5828e46046 Don't subscribe to some state changes by bots. 2024-02-19 00:23:46 +03:00
levlam
cb3c623fd2 Update layer to 174. 2024-02-07 20:34:28 +03:00
levlam
5d0b8c71a5 Remove updatePinnedSavedMessagesTopics and handle updates on the TDLib side. 2024-02-06 15:12:03 +03:00
levlam
7267e1e89c Move Saved Messages-specific functions to SavedMessagesManager. 2024-02-04 23:06:48 +03:00
levlam
5acc895975 Improve error message. 2024-01-29 00:55:37 +03:00
levlam
ba75dd2626 Improve update handling logging. 2024-01-26 15:08:16 +03:00
levlam
73dc2b9889 Use multiset to store pending updates and improve PendingPtsUpdate comparison. 2024-01-26 14:59:07 +03:00
levlam
3391c643f3 Don't try to fetch the same update more than once. 2024-01-26 14:01:44 +03:00
levlam
b6fe959ece Improve update processing logging. 2024-01-26 11:25:09 +03:00
levlam
238d154ed7 Immediately fetch affected messages. 2024-01-26 00:30:49 +03:00
levlam
168bba072d Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed. 2024-01-25 22:33:44 +03:00
levlam
233633b705 Don't postpone updates with pts_count > 1, because they can partly overlap with getDifference results. 2024-01-25 22:28:07 +03:00
levlam
c9a357f80d Support gaps with 0 pts_count in UpdatesManager::on_get_pts_update. 2024-01-25 22:02:11 +03:00
levlam
956c35d6e0 Add td_api::setSavedMessagesTagLabel. 2024-01-23 19:04:31 +03:00
levlam
9a09125d62 Support telegram_api::updateSavedReactionTags. 2024-01-23 16:39:15 +03:00
levlam
0823ee492e Add enum ReactionListType. 2024-01-18 20:53:43 +03:00
levlam
74aab0a7b2 Load default tag reactions. 2024-01-18 20:08:37 +03:00
levlam
ae7e290789 Add td_api::updatePinnedSavedMessagesTopics. 2024-01-18 18:51:34 +03:00
levlam
be8b21cdf4 Update layer to 171. 2024-01-02 03:23:51 +03:00
levlam
cd3cc873f0 Fix usage of unsupported chat identifier. 2024-01-23 19:05:39 +03:00
levlam
e5f9e4c400 Decrease UPDATE_APPLY_WARNING_TIME and improve logging. 2024-01-17 16:50:08 +03:00
levlam
f1a4579e67 Move bot chat member updates to DialogParticipantManager. 2024-01-08 17:27:32 +03:00
levlam
b684039566 Move some methods to DialogActionManager. 2024-01-07 00:46:36 +03:00
levlam
c0a0f7de07 Move on_dialog_info_full_invalidated to DialogManager. 2024-01-04 19:52:31 +03:00
levlam
32898dbe88 Move get_chat_ids_object and get_chats_object to DialogManager. 2024-01-04 16:13:20 +03:00
levlam
eb5a37e927 Add DialogManager::force_create_dialog. 2024-01-04 15:38:01 +03:00
levlam
978be7206f Use DialogManager::have_dialog_force. 2024-01-04 15:26:42 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
1494d5fcdf Add td_api::getDisallowedChatEmojiStatuses. 2023-12-24 02:30:49 +03:00
levlam
f07d21ac6b Add td_api::getDefaultChatEmojiStatuses. 2023-12-22 12:29:12 +03:00
levlam
e2747b6c76 Add td_api::getThemedChatEmojiStatuses. 2023-12-21 22:44:59 +03:00
levlam
cc37a0c937 Add td_api::updateMessageReactions for bots. 2023-12-14 23:44:31 +03:00
levlam
00aff8f557 Add td_api::updateMessageReaction for bots. 2023-12-14 19:55:53 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
53ee8caf37 Simplify QTS update processing. 2023-12-14 23:27:46 +03:00
levlam
60eb989657 Add td_api::updateProfileAccentColors. 2023-11-27 18:08:45 +03:00
levlam
fbcd4c7198 Use help.getPeerColors to update accent colors. 2023-11-27 16:35:27 +03:00
levlam
d08796fade Reload chat themes with other data. 2023-11-27 13:34:14 +03:00
levlam
1e5db44c0d Support telegram_api::updatePeerWallpaper.wallpaper_overridden. 2023-11-23 23:12:59 +03:00
levlam
ab39c96b2c Move transcription update subscription to TranscriptionManager. 2023-11-21 20:32:23 +03:00
levlam
7ffcd56f23 Support telegram_api::updateChannelViewForumAsMessages updates. 2023-11-16 17:11:36 +03:00
levlam
65e474ef49 Support telegram_api::updatePeerWallpaper. 2023-11-10 14:08:46 +03:00