Commit Graph

143 Commits

Author SHA1 Message Date
levlam
c77d6957c5 Support sending of multiple paid media. 2024-06-27 18:38:53 +03:00
levlam
3f4607cbdc Add get_uploaded_message_content. 2024-06-26 16:32:15 +03:00
levlam
30f1e339d6 Add is_uploaded_input_media. 2024-06-26 13:03:32 +03:00
levlam
c24222546e Improve names of get_input_media functions from MessageContent. 2024-06-26 12:19:40 +03:00
levlam
f23e47b3e4 Add td_api::inputMessagePaidMedia and support sending single paid media. 2024-06-24 21:36:14 +03:00
levlam
d0bc0ccfd8 Add td_api::messagePaidMedia. 2024-06-21 12:25:23 +03:00
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
204ceff1d0 Minor quick reply fixes. 2024-06-17 18:47:29 +03:00
levlam
eba7f868f1 Fix QuickReplyManager::get_message_file_ids. 2024-06-17 18:45:40 +03:00
levlam
bd2baf3429 Update copyright year in new managers. 2024-05-29 12:17:15 +03:00
levlam
bb642b74b6 Reload quick replies if failed to load them from database. 2024-05-27 12:51:55 +03:00
levlam
7507a4bd05 Minor improvements. 2024-05-23 17:09:28 +03:00
levlam
30416fe801 Add function check_message_group_message_contents. 2024-05-15 22:53:41 +03:00
levlam
d490e9a122 Add messageSendOptions.effect_id. 2024-05-09 19:02:17 +03:00
levlam
22ebe2c7bf Update layer to 181. 2024-05-06 19:14:42 +03:00
levlam
e896912ea1 Fix compilation error with old compilers. 2024-05-04 02:44:53 +03:00
levlam
379fdf85b7 Various improvements. 2024-04-30 20:48:24 +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
1f6fdd554a Add class MessageQuote and use it in MessageInputReplyTo and RepliedMessageInfo. 2024-04-25 15:52:19 +03:00
levlam
2424d681c9 Check that all shortcut messages are loaded before sending a message there. 2024-04-22 16:14:33 +03:00
levlam
c56c89f10d Add quick reply shortcut identifier checks. 2024-04-22 14:36:38 +03:00
levlam
2ddab77b3e Fix some misprints. 2024-04-21 02:43:33 +03:00
levlam
d0e8dd7b81 Add some checks. 2024-04-21 02:37:54 +03:00
levlam
01e30e5263 Various fixes. 2024-04-21 02:24:11 +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
93e7755187 Quick reply message improvements. 2024-04-19 16:56:52 +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
0af52ba4fd Change shortcut identifier when moving local messages between shortcuts. 2024-04-18 16:54:57 +03:00
levlam
2f9dcae107 Support addQuickReply result processing when the original shortcut has already been renamed. 2024-04-18 16:38:56 +03:00
levlam
d13981695f Try to get new shortcut id from messages also. 2024-04-18 16:20:32 +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
ce50d0519f Don't add twice the same sent message. 2024-04-18 00:10:13 +03:00
levlam
23d845eabd Don't create duplicate quick reply shortcuts. 2024-04-17 21:36:47 +03:00
levlam
5becaaa838 Support quick reply file upload. 2024-04-17 21:29:58 +03:00
levlam
33f5552a18 Implement QuickReplyManager::on_failed_send_quick_reply_messages. 2024-04-17 19:29:50 +03:00
levlam
6a2c579bb1 Disallow live locations in quick replies. 2024-04-17 19:08:42 +03:00