Commit Graph

87 Commits

Author SHA1 Message Date
levlam
06e1b15ccc Add and use QuickReplyManager::register_new_message. 2024-06-24 14:05:06 +03:00
levlam
6101a4f108 Improve update_sent_message_content_from_temporary_message method name. 2024-06-23 10:50:28 +03:00
levlam
f3c52beaba Don't pass shortcut_id to delete_message_files. 2024-06-20 17:08:06 +03:00
levlam
dd26967b8f Don't pass message_full_id to change_message_files. 2024-06-20 17:06:31 +03:00
levlam
6dc9a25622 Register quick reply message web pages. 2024-06-17 23:13:11 +03:00
levlam
9a059f073c Add callbacks for register/unregister quick reply message content. 2024-06-17 19:28:04 +03:00
levlam
7db80d67a3 Add QuickReplyManager::get_message_editable. 2024-06-17 19:20:22 +03:00
levlam
f13b696cb6 Pass const Message to do_send_media. 2024-06-17 19:08:37 +03:00
levlam
bd2baf3429 Update copyright year in new managers. 2024-05-29 12:17:15 +03:00
levlam
78038f1fc9 Return server shortcut by temporary identifier. 2024-04-30 00:03:17 +03:00
levlam
420ee182fa Add td_api::addQuickReplyShortcutMessageAlbum. 2024-04-29 21:48:12 +03:00
levlam
f3385d6cb7 Improve edit of quick reply messages. 2024-04-21 02:07:16 +03:00
levlam
1221cccbdf Support quick reply media editing. 2024-04-20 18:57:32 +03:00
levlam
4dbb092bc1 Add td_api::editQuickReplyMessage. 2024-04-19 16:42:58 +03:00
levlam
6def37f88b Add td_api::readdQuickReplyShortcutMessages. 2024-04-18 23:45:53 +03:00
levlam
4354d4c5f4 Add td_api::addQuickReplyShortcutInlineQueryResultMessage. 2024-04-18 22:13:39 +03:00
levlam
25e7c7ec25 Return specific status from check_send_quick_reply_messages_response. 2024-04-18 16:05:43 +03:00
levlam
e7d7c502c4 Support missing file parts. 2024-04-18 15:13:16 +03:00
levlam
1672e580a9 Support file reference errors for added quick replies. 2024-04-18 15:01:58 +03:00
levlam
0a29b0089c Merge old and new quick reply message contents. 2024-04-18 14:33:07 +03:00
levlam
5becaaa838 Support quick reply file upload. 2024-04-17 21:29:58 +03:00
levlam
6a2c579bb1 Disallow live locations in quick replies. 2024-04-17 19:08:42 +03:00
levlam
8e99a8dba1 Add td_api::addQuickReplyShortcutMessage and support adding of quick replies without media. 2024-04-17 18:39:25 +03:00
levlam
05866446dc Add QuickReplyManager::add_local_message. 2024-04-16 00:53:48 +03:00
levlam
f3d655f1ac Create local qucik reply shortcut if it doesn't exist yet. 2024-04-15 23:36:27 +03:00
levlam
d8a50a3ef0 Add QuickReplyManager::process_input_message_content. 2024-04-15 23:12:22 +03:00
levlam
5d984efdd3 Add QuickReplyManager::get_input_reply_to_message_id. 2024-04-15 22:55:26 +03:00
levlam
a7dca7a744 Add QuickReplyManager::check_new_shortcut_name function. 2024-04-15 22:41:36 +03:00
levlam
b28e1d2fd8 Support via_bot_user_id in sendQuickReplyShortcutMessages. 2024-03-18 22:38:30 +03:00
levlam
6e44c27db0 Improve includes. 2024-03-07 13:56:57 +03:00
levlam
bc1a8d2bc2 Add quickReplyMessage.reply_markup. 2024-03-06 15:56:50 +03:00
levlam
ef636ea07c Improve QuickReplyManager::update_shortcut_from. 2024-03-05 18:12:05 +03:00
levlam
e91b946015 Remove get_shortcut_it(const string &name). 2024-03-05 16:40:17 +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
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
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
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