aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/QuickReplyManager.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-08-01 10:41:27 +0300
committerlevlam <levlam@telegram.org>2025-08-01 10:41:27 +0300
commit85a8780272e8fea0b739633ab8f0b1edb14e72df (patch)
tree524c6a0bf0ae2f91ea480293fc405f68b05d2cad /td/telegram/QuickReplyManager.cpp
parentdfcdd346a1605300e97bd8aa1af06b60fb18879b (diff)
Support replying to specific checklist task.
Diffstat (limited to 'td/telegram/QuickReplyManager.cpp')
-rw-r--r--td/telegram/QuickReplyManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/td/telegram/QuickReplyManager.cpp b/td/telegram/QuickReplyManager.cpp
index d1af76df3..a22445a0a 100644
--- a/td/telegram/QuickReplyManager.cpp
+++ b/td/telegram/QuickReplyManager.cpp
@@ -245,7 +245,7 @@ class QuickReplyManager::SendQuickReplyMessageQuery final : public Td::ResultHan
shortcut_id_ = m->shortcut_id;
int32 flags = telegram_api::messages_sendMessage::QUICK_REPLY_SHORTCUT_MASK;
- auto reply_to = MessageInputReplyTo(m->reply_to_message_id, DialogId(), MessageQuote())
+ auto reply_to = MessageInputReplyTo(m->reply_to_message_id, DialogId(), MessageQuote(), 0)
.get_input_reply_to(td_, MessageId(), SavedMessagesTopicId());
if (reply_to != nullptr) {
flags |= telegram_api::messages_sendMessage::REPLY_TO_MASK;
@@ -299,7 +299,7 @@ class QuickReplyManager::SendQuickReplyInlineMessageQuery final : public Td::Res
shortcut_id_ = m->shortcut_id;
int32 flags = telegram_api::messages_sendInlineBotResult::QUICK_REPLY_SHORTCUT_MASK;
- auto reply_to = MessageInputReplyTo(m->reply_to_message_id, DialogId(), MessageQuote())
+ auto reply_to = MessageInputReplyTo(m->reply_to_message_id, DialogId(), MessageQuote(), 0)
.get_input_reply_to(td_, MessageId(), SavedMessagesTopicId());
if (reply_to != nullptr) {
flags |= telegram_api::messages_sendInlineBotResult::REPLY_TO_MASK;
@@ -359,7 +359,7 @@ class QuickReplyManager::SendQuickReplyMediaQuery final : public Td::ResultHandl
was_thumbnail_uploaded_ = FileManager::extract_was_thumbnail_uploaded(input_media);
int32 flags = telegram_api::messages_sendMedia::QUICK_REPLY_SHORTCUT_MASK;
- auto reply_to = MessageInputReplyTo(m->reply_to_message_id, DialogId(), MessageQuote())
+ auto reply_to = MessageInputReplyTo(m->reply_to_message_id, DialogId(), MessageQuote(), 0)
.get_input_reply_to(td_, MessageId(), SavedMessagesTopicId());
if (reply_to != nullptr) {
flags |= telegram_api::messages_sendMedia::REPLY_TO_MASK;
@@ -561,7 +561,7 @@ class QuickReplyManager::SendQuickReplyMultiMediaQuery final : public Td::Result
CHECK(file_ids_.size() == random_ids_.size());
int32 flags = telegram_api::messages_sendMultiMedia::QUICK_REPLY_SHORTCUT_MASK;
- auto reply_to = MessageInputReplyTo(reply_to_message_id, DialogId(), MessageQuote())
+ auto reply_to = MessageInputReplyTo(reply_to_message_id, DialogId(), MessageQuote(), 0)
.get_input_reply_to(td_, MessageId(), SavedMessagesTopicId());
if (reply_to != nullptr) {
flags |= telegram_api::messages_sendMultiMedia::REPLY_TO_MASK;