Commit Graph

9966 Commits

Author SHA1 Message Date
levlam
4bc3b380b8 Support sending of queries with a prefix. 2024-03-07 18:37:28 +03:00
levlam
f78a0e4326 Add td_api::getBusinessConnection. 2024-03-07 18:02:30 +03:00
levlam
74cf61d401 Add td_api::updateBusinessConnection. 2024-03-07 17:18:11 +03:00
levlam
c54e2429b0 Process new QTS updates. 2024-03-07 16:41:30 +03:00
levlam
bb683c2988 Add empty BusinessConnectionManager. 2024-03-07 15:44:15 +03:00
levlam
bce17cb5d8 Update layer to 177. 2024-03-07 15:24:28 +03:00
levlam
11a35768b7 Fix some plural spelling. 2024-03-28 02:03:03 +03:00
levlam
f195fcd6db Fix misprinted triple characters. 2024-03-27 22:25:58 +03:00
levlam
fe627bc7ba Fix misprint. 2024-03-26 00:03:39 +03:00
levlam
07a29ef56b Move chat suggested actions to DialogManager. 2024-03-23 23:15:04 +03:00
levlam
4227491ef4 Move on_get_permanent_dialog_invite_link to DialogInviteLinkManager. 2024-03-22 00:58:08 +03:00
levlam
33ad5964ef Add loaded from database local backgrounds to cache. 2024-03-21 19:15:03 +03:00
levlam
c3dcbfc967 Assign same identifier to the same local background. 2024-03-21 18:50:23 +03:00
levlam
1d6e7afcdf Compare local backgrounds only by type. 2024-03-20 00:01:10 +03:00
levlam
e1d1e38606 Improve BackgroundInfo logging. 2024-03-19 17:51:24 +03:00
levlam
649b8cef01 Pass ChannelId to can_get_channel_story_statistics. 2024-03-18 00:03:00 +03:00
levlam
95e86d3cf3 Pass ChannelId to can_get_channel_message_statistics. 2024-03-17 23:47:47 +03:00
levlam
5a00fb2ba3 Move migrate_dialog_to_megagroup to DialogManager. 2024-03-16 21:47:42 +03:00
levlam
723ec5a203 Improve includes. 2024-03-15 14:12:43 +03:00
levlam
85e7229192 Fix parameter name. 2024-03-14 14:27:04 +03:00
levlam
2f2dbc30cd Move some methods to ChannelRecommendationManager. 2024-03-13 15:40:19 +03:00
levlam
407bb811b3 Add ChannelRecommendationManager. 2024-03-13 14:06:14 +03:00
levlam
44b42cc659 Support visionOS in TDLib. 2024-03-11 22:47:54 +03:00
levlam
2c61318a11 Move some methods to PeopleNearbyManager. 2024-03-11 01:42:08 +03:00
levlam
1e6c1dbb12 Add empty PeopleNearbyManager. 2024-03-11 01:08:29 +03:00
levlam
1fba0f0c84 Move can_use_premium_custom_emoji to DialogManager. 2024-03-10 03:15:01 +03:00
levlam
919a1d8329 Move on_update_bot_commands to DialogManager. 2024-03-09 23:35:12 +03:00
levlam
b1b33cf427 Fix compilation error. 2024-03-08 23:32:57 +03:00
levlam
b3b63bbdc1 Update version to 1.8.26. 2024-03-08 14:33:22 +03:00
levlam
52d9ac02ba Split business opening hours by week days. 2024-03-08 14:14:28 +03:00
levlam
64094e17c0 Sanitize business work hours. 2024-03-08 13:03:23 +03:00
levlam
046ed45152 Various fixes. 2024-03-07 14:09:31 +03:00
levlam
6e44c27db0 Improve includes. 2024-03-07 13:56:57 +03:00
levlam
d08ad22a2b Use explicit cast. 2024-03-07 12:03:22 +03:00
levlam
a1bcec491d Fix QuickReplyManager::get_shortcut_it. 2024-03-06 17:05:30 +03:00
levlam
2d43bdf03c Fix query promise. 2024-03-06 16:52:54 +03:00
levlam
bc1a8d2bc2 Add quickReplyMessage.reply_markup. 2024-03-06 15:56:50 +03:00
levlam
06831c2836 Return null as businessInfo if empty. 2024-03-06 15:11:16 +03:00
levlam
b255a21733 Fix chat folder tags. 2024-03-05 23:27:56 +03:00
levlam
d1638a0fc4 Allow to add any WEBP sticker to favorite stickers. 2024-03-05 22:01:19 +03:00
levlam
ef636ea07c Improve QuickReplyManager::update_shortcut_from. 2024-03-05 18:12:05 +03:00
levlam
b69eaf8669 Send update about quick reply messages only after shortcut updates. 2024-03-05 18:04:40 +03:00
levlam
85f8f5ec87 Improve QuickReplyManager::get_current_state. 2024-03-05 18:02:11 +03:00
levlam
a9ab6b739c Disable QuickReplyManager for bots. 2024-03-05 17:58:40 +03:00
levlam
2e0d52f618 Ignore service and live location messages in quick replies. 2024-03-05 16:41:10 +03:00
levlam
e91b946015 Remove get_shortcut_it(const string &name). 2024-03-05 16:40:17 +03:00
levlam
eaba45ebcb Load quick replies from database in more places. 2024-03-05 16:25:39 +03:00
levlam
401318d812 Reget messages with unsupported or legacy content. 2024-03-05 15:49:42 +03:00
levlam
dd06d5ccb2 Combine get_quick_reply_shortcuts and load_quick_reply_shortcuts. 2024-03-05 15:38:56 +03:00
levlam
3d397c1d35 Add load_quick_reply_shortcuts. 2024-03-05 15:30:57 +03:00
levlam
b53fca6284 Rename option to "quick_reply_shortcut_message_count_max". 2024-03-05 14:44:57 +03:00
levlam
f1c3bb5c33 Fix sending update about changed shortcut. 2024-03-05 14:41:35 +03:00
levlam
c4d92b3f00 Ignore edit_hide for quick replies. 2024-03-05 14:25:09 +03:00
levlam
8dcf5c4bca Fix quick reply count updating. 2024-03-05 14:17:18 +03:00
levlam
f0b745b291 Save only server and local quick reply messages. 2024-03-05 13:42:21 +03:00
levlam
bd97e81c32 Add td_api::sendQuickReplyShortcutMessages. 2024-03-05 13:08:26 +03:00
levlam
5a0a3f2c14 Add chat type check in get_quick_reply_message_contents. 2024-03-04 22:33:25 +03:00
levlam
f11ad19a4f Ignore saved_peer_id in quick reply messages. 2024-03-04 22:30:24 +03:00
levlam
464973839e Add QuickReplyManager::get_quick_reply_message_contents. 2024-03-04 20:06:32 +03:00
levlam
848b907b1a Remove comment about disable_web_page_preview being a local field. 2024-03-04 18:55:03 +03:00
levlam
3103a6d82c Remove QuickReplyMessage.noforwards. 2024-03-04 18:53:51 +03:00
levlam
f43ba61252 Add td_api::deleteBusinessConnectedBot. 2024-03-04 18:17:57 +03:00
levlam
84ecc89d20 Add td_api::setBusinessConnectedBot. 2024-03-04 17:59:29 +03:00
levlam
5c764d1716 tg_cli: add as_business_recipients. 2024-03-04 17:55:29 +03:00
levlam
d56025f609 Add td_api::getBusinessConnectedBot. 2024-03-04 17:17:10 +03:00
levlam
261a3d0c22 Move business info setters to BusinessManager. 2024-03-04 16:57:36 +03:00
levlam
e78c0aa360 Add empty BusinessManager. 2024-03-04 16:39:30 +03:00
levlam
a629700b3c Add class BusinessConnectedBot. 2024-03-04 16:06:36 +03:00
levlam
fbc738c8df Improve updates after quick reply message deletion. 2024-03-04 15:11:36 +03:00
levlam
f03bdc7e50 Add td_api::setQuickReplyShortcutName. 2024-03-04 15:00:00 +03:00
levlam
74c5ba7087 Add td_api::checkQuickReplyShortcutName. 2024-03-04 14:34:47 +03:00
levlam
e61c4d03e5 Add "quick_reply_message_count_max" option. 2024-03-04 13:28:55 +03:00
levlam
f7b6f81c52 Add "quick_reply_shortcut_count_max" option. 2024-03-04 13:27:23 +03:00
levlam
e2eba91ee2 Allow to add to recent stickers arbitrary WEBP stickers. 2024-03-01 22:35:48 +03:00
levlam
f726ca930b Add td_api::toggleChatFolderTags. 2024-03-01 19:28:32 +03:00
levlam
3221d42d7b Add updateChatFolders.are_tags_enabled. 2024-03-01 16:57:10 +03:00
levlam
b9c66aaea6 Support chat folder color. 2024-03-01 15:57:30 +03:00
levlam
60ee05aef7 Support Away messages sent only when the user is offline. 2024-03-01 14:44:42 +03:00
levlam
00e9793f09 Improve reload_quick_reply_messages. 2024-03-01 13:39:26 +03:00
levlam
8a5f4afa91 Add source to delete_quick_reply_messages. 2024-02-29 21:59:53 +03:00
levlam
de6f15c973 Add td_api::deleteQuickReplyShortcutMessages. 2024-02-29 21:34:45 +03:00
levlam
3d60b43196 Register quick reply message files. 2024-02-29 21:05:56 +03:00
levlam
3022da6b83 Add and use QuickReplyManager::update_quick_reply_message. 2024-02-29 20:58:30 +03:00
levlam
fd5a6389ec Delete files from deleted quick reply messages. 2024-02-29 19:01:40 +03:00
levlam
3f85140627 Support file reference repair for quick reply messages. 2024-02-29 17:41:05 +03:00
levlam
ee25355ba6 Prevent adding back of deleted messages. 2024-02-29 17:27:12 +03:00
levlam
29718b5880 Add delete_quick_reply_messages(Shortcut *). 2024-02-29 17:21:55 +03:00
levlam
cc40178558 Add class QuickReplyMessageFullId. 2024-02-29 17:11:39 +03:00
levlam
b2884dcd0b Add QuickReplyManager::reload_quick_reply_message. 2024-02-29 17:05:00 +03:00
levlam
23af1419d0 Support telegram_api::updateQuickReplyMessage. 2024-02-29 16:39:38 +03:00
levlam
fb85728597 Add source to get_update_quick_reply_shortcut_messages_object. 2024-02-29 16:10:15 +03:00
levlam
3b62a65bea Add td_api::loadQuickReplyShortcutMessages instead of getQuickReplyShortcutMessages. 2024-02-29 16:05:16 +03:00
levlam
c99dd3d59d Add td_api::updateQuickReplyShortcutMessages. 2024-02-29 15:55:38 +03:00
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