aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/MessageInputReplyTo.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-03-12 15:20:27 +0300
committerlevlam <levlam@telegram.org>2026-03-12 15:20:27 +0300
commit477220c23c454f1025576017743501deb56ed27a (patch)
treeb8ffbc443a8a8e8ba84e80df9d99444b8e0dae1c /td/telegram/MessageInputReplyTo.h
parentb3a5bd32c5dfdc9f4ac6032f97418416e84ab804 (diff)
Don't create implicit reply for drafts.
Diffstat (limited to 'td/telegram/MessageInputReplyTo.h')
-rw-r--r--td/telegram/MessageInputReplyTo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/td/telegram/MessageInputReplyTo.h b/td/telegram/MessageInputReplyTo.h
index 00191a07a..68b1dbdf9 100644
--- a/td/telegram/MessageInputReplyTo.h
+++ b/td/telegram/MessageInputReplyTo.h
@@ -90,6 +90,7 @@ class MessageInputReplyTo {
void add_dependencies(Dependencies &dependencies) const;
telegram_api::object_ptr<telegram_api::InputReplyTo> get_input_reply_to(Td *td, const MessageTopic &message_topic,
+ bool for_draft = false,
DialogId for_dialog_id = DialogId(),
int32 with_flags = 0) const;