2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Update API scheme to layer 208.

This commit is contained in:
John Preston
2025-07-07 10:59:37 +04:00
parent bf51e911b8
commit 23f5102f1b
7 changed files with 16 additions and 8 deletions

View File

@@ -88,7 +88,8 @@ MTPInputReplyTo ReplyToForMTP(
: Flag())
| (quoteEntities.v.isEmpty()
? Flag()
: Flag::f_quote_entities)),
: Flag::f_quote_entities)
| (replyTo.todoItemId ? Flag::f_todo_item_id : Flag())),
MTP_int(replyTo.messageId ? replyTo.messageId.msg : 0),
MTP_int(replyTo.topicRootId),
(external
@@ -99,7 +100,8 @@ MTPInputReplyTo ReplyToForMTP(
MTP_int(replyTo.quoteOffset),
(replyToMonoforumPeerId
? history->owner().peer(replyToMonoforumPeerId)->input
: MTPInputPeer()));
: MTPInputPeer()),
MTP_int(replyTo.todoItemId));
} else if (history->peer->amMonoforumAdmin()
&& replyTo.monoforumPeerId) {
const auto replyToMonoforumPeer = replyTo.monoforumPeerId