diff options
| author | levlam <levlam@telegram.org> | 2023-11-06 13:20:16 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-11-06 13:20:16 +0300 |
| commit | 8228c2e7b6197bcc21dd96996a8416f5ac3d6ebb (patch) | |
| tree | 4979da7f9d21dd2a2e7f90a46722e829c34e81c0 /td/telegram/MessageInputReplyTo.h | |
| parent | 0139e739106ae802f35a833068ea88500aec8ebb (diff) | |
Allow to change reply quote in resendMessages.
Diffstat (limited to 'td/telegram/MessageInputReplyTo.h')
| -rw-r--r-- | td/telegram/MessageInputReplyTo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/td/telegram/MessageInputReplyTo.h b/td/telegram/MessageInputReplyTo.h index 1154ce15a..186a691b1 100644 --- a/td/telegram/MessageInputReplyTo.h +++ b/td/telegram/MessageInputReplyTo.h @@ -62,6 +62,14 @@ class MessageInputReplyTo { return !is_empty(); } + bool has_quote() const { + return !quote_.text.empty(); + } + + void set_quote(FormattedText &"e) { + quote_ = std::move(quote); + } + StoryFullId get_story_full_id() const { return story_full_id_; } |
