Commit Graph

9823 Commits

Author SHA1 Message Date
levlam
b7ee5c2ada Support updateDeleteQuickReplyMessages. 2024-02-29 14:43:32 +03:00
levlam
2e4a9c11d3 Reload quick reply messages after reloading the list of quick reply shortcuts. 2024-02-28 17:42:41 +03:00
levlam
9720651164 Add and use QuickReplyManager::get_quick_reply_messages_hash. 2024-02-28 17:38:17 +03:00
levlam
aeea69e674 Add td_api::getQuickReplyShortcutMessages. 2024-02-28 17:19:28 +03:00
levlam
139d1d92ae Save quick reply shortcuts to binlog. 2024-02-27 23:47:29 +03:00
levlam
b7e8584260 Remove QuickReplyMessage.is_copy. 2024-02-27 22:06:01 +03:00
levlam
4e198f0fe5 Remove quickReplyMessage.forward_info. 2024-02-27 20:52:59 +03:00
levlam
f13f409e5f Send shortcut identifiers in updates and receive them in requests. 2024-02-27 18:10:11 +03:00
levlam
88363b1113 tg_cli: add ShortcutId. 2024-02-27 16:16:28 +03:00
levlam
7b257b4def Rename work hours to opening hours. 2024-02-27 16:03:34 +03:00
levlam
50ba48fbfa Add td_api::setBusinessGreetingMessageSettings. 2024-02-27 14:26:19 +03:00
levlam
66761d1950 Add td_api::setBusinessAwayMessageSettings. 2024-02-27 14:18:56 +03:00
levlam
44bdcd4920 Add businessInfo.greeting_message_settings. 2024-02-27 02:07:21 +03:00
levlam
74fbe7f549 Add businessInfo.away_message_settings. 2024-02-27 01:58:14 +03:00
levlam
72a4cd0398 Add td_api::businessInfo. 2024-02-26 23:09:52 +03:00
levlam
0636fb180e Reload userFull after User.is_premium changes. 2024-02-26 22:43:17 +03:00
levlam
5bde9c6fb6 Add td_api::businessAwayMessageSettings. 2024-02-26 20:27:17 +03:00
levlam
4c469a3f2c Add td_api::BusinessAwayMessageSchedule. 2024-02-26 20:15:16 +03:00
levlam
3d43bbb80d Add td_api::businessGreetingMessageSettings. 2024-02-26 19:09:58 +03:00
levlam
bdb3088a0c Add quickReplyShortcut.id. 2024-02-26 18:18:53 +03:00
levlam
b84c36626a Move public BusinessWorkHours fields before private one. 2024-02-26 17:06:29 +03:00
levlam
4513cf75b8 Add td_api::businessRecipients. 2024-02-26 16:35:20 +03:00
levlam
7476ff34de Combine local and server shortcuts by name. 2024-02-26 13:48:19 +03:00
levlam
693bb5f09e Add td_api::reorderQuickReplyShortcuts. 2024-02-24 14:40:25 +03:00
levlam
bf01eb3b91 Add and use QuickReplyManager::is_shortcut_list_changed. 2024-02-24 14:22:01 +03:00
levlam
bf825d76cb Don't invoke quick reply queries simultaneously. 2024-02-24 13:42:34 +03:00
levlam
2c8c883fbf Add and use QuickReplyManager::get_shortcut_it. 2024-02-24 13:37:02 +03:00
levlam
5ef3562533 Add QuickReplyShortcutId::is_server(). 2024-02-24 03:28:55 +03:00
levlam
817a64ce0e Add class QuickReplyShortcutId. 2024-02-24 03:16:56 +03:00
levlam
274720f395 Don't add back deleted shortcuts. 2024-02-24 03:06:20 +03:00
levlam
44366bd208 Add td_api::deleteQuickReplyShortcut. 2024-02-24 03:02:42 +03:00
levlam
370d862acf Support address-only business location. 2024-02-23 21:03:44 +03:00
levlam
6cecda5d40 Add quickReplyMessage.can_be_edited. 2024-02-23 20:22:33 +03:00
levlam
5d1dcd204d Add storers and parsers for quick reply shortcuts. 2024-02-23 16:17:37 +03:00
levlam
f0dcf7ebe2 Calculate quick reply shortcuts hash. 2024-02-23 14:49:29 +03:00
levlam
08084f35e3 Added updateChatAddedToList and updateChatRemovedFromList. 2024-02-23 13:38:51 +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
de8afdd0a8 Store separately server and local shortcut message total_count. 2024-02-22 23:08:38 +03:00
levlam
1d76beadeb Replace getQuickReplyShortcuts with loadQuickReplyShortcuts. 2024-02-22 23:04:36 +03:00
levlam
99f1369e8c Add updateQuickReplyShortcuts. 2024-02-22 22:55:09 +03:00
levlam
c73a19c319 Send update only if the first shortcut message changes. 2024-02-22 21:57:43 +03:00
levlam
9af1639168 Add QuickReplyManager::get_quick_reply_unique_id. 2024-02-22 21:47:34 +03:00
levlam
f1fbd90ae6 Add QuickReplyMessageUniqueId typedef. 2024-02-22 21:44:13 +03:00
levlam
d478ba05c4 Support edit date for quick replies. 2024-02-22 21:40:07 +03:00
levlam
d813b5c438 Support updateQuickReplyShortcut in getCurrentState. 2024-02-22 21:26:17 +03:00
levlam
6b97b9289e Add updateQuickReplyShortcut and updateQuickReplyShortcutDeleted. 2024-02-22 21:23:19 +03:00
levlam
dbc7bddf80 Support updateQuickReplies. 2024-02-22 20:12:06 +03:00
levlam
c42a9d5652 Merge new received shortcut data with previously known data. 2024-02-22 19:45:49 +03:00
levlam
ef90da3fd1 Update shortcut message count with the number of known messages. 2024-02-22 18:47:01 +03:00