Commit Graph

29 Commits

Author SHA1 Message Date
levlam
95304c611c Support quote position for replies. 2023-11-10 13:29:37 +03:00
levlam
21d5184e9f Improve RepliedMessageInfo::get_same_chat_reply_to_message_id. 2023-11-07 03:43:48 +03:00
levlam
08359b46fc Improve RepliedMessageInfo::get_reply_message_full_id. 2023-11-07 02:48:01 +03:00
levlam
baed5606fb Prevent unloading of replied polls. 2023-11-06 20:37:17 +03:00
levlam
aba3f38a2f Add RepliedMessageInfo::legacy static function instead of legacy constructors. 2023-11-06 18:29:47 +03:00
levlam
180afdec3e Simplify RepliedMessageInfo.is_empty() check. 2023-11-05 21:51:46 +03:00
levlam
887fd06e1c Keep external replies when forwarding a message. 2023-11-01 17:14:35 +03:00
levlam
0e2300e1fa Add warning when reply quote changes. 2023-10-31 18:20:55 +03:00
levlam
5c1b940402 Minor improvements. 2023-10-30 19:04:14 +03:00
levlam
c38bb8c51a Drop message_id for outgoing replies in private chats. 2023-10-29 14:25:42 +03:00
levlam
ac7e48351e Inline is_same_chat_reply. 2023-10-28 21:11:24 +03:00
levlam
8adea20fd3 Keep quote when forwarding replies. 2023-10-27 14:33:15 +03:00
levlam
012211ea19 Pass MessageInputReplyTo to set_message_reply. 2023-10-27 13:33:00 +03:00
levlam
10e2decf4b Add and use RepliedMessageInfo::get_file_ids. 2023-10-27 01:50:32 +03:00
levlam
5b9731a974 Support RepliedMessageInfo in *FromMessage. 2023-10-27 01:41:15 +03:00
levlam
8128c6e079 Reget message if reply contains MessageUnsupported. 2023-10-26 23:16:06 +03:00
levlam
e50a3ce18c Add messageReplyToMessage.content. 2023-10-26 22:53:25 +03:00
levlam
f0d166cbdc Add messageReplyToMessage.quote. 2023-10-26 15:52:42 +03:00
levlam
3531481591 Store RepliedMessageInfo in Message. 2023-10-26 14:51:32 +03:00
levlam
e791c98757 Support RepliedMessageInfo logging. 2023-10-26 01:11:36 +03:00
levlam
d839e5b68c Add RepliedMessageInfo::need_reply_changed_warning. 2023-10-26 01:01:22 +03:00
levlam
75d9abc388 Add RepliedMessageInfo::add_dependencies. 2023-10-25 17:44:24 +03:00
levlam
944bb24e51 Add RepliedMessageInfo(MessageInputReplyTo) constructor. 2023-10-25 17:37:28 +03:00
levlam
fc3dfbe3c0 Add RepliedMessageInfo::get_message_reply_to_message_object. 2023-10-25 17:24:24 +03:00
levlam
4425eadc3c Pass default DialogId to get_reply_message_full_id. 2023-10-24 18:54:32 +03:00
levlam
2d7b2b4545 Simplify RepliedMessageInfo field names. 2023-10-24 16:34:54 +03:00
levlam
82b9f21cec Make RepliedMessageInfo fields private. 2023-10-24 15:55:52 +03:00
levlam
a213820013 Add RepliedMessageInfo parser and storer. 2023-10-24 14:06:49 +03:00
levlam
cb70dd7831 Add class RepliedMessageInfo. 2023-10-24 12:04:45 +03:00