2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme to layer 177.

This commit is contained in:
John Preston
2024-03-15 16:57:21 +04:00
parent 962c64b33c
commit b1795f8c5a
9 changed files with 51 additions and 10 deletions

View File

@@ -1120,6 +1120,7 @@ void Updates::applyUpdatesNoPtsCheck(const MTPUpdates &updates) {
MTPPeer(), // saved_peer_id
d.vfwd_from() ? *d.vfwd_from() : MTPMessageFwdHeader(),
MTP_long(d.vvia_bot_id().value_or_empty()),
MTPlong(), // via_business_bot_id
d.vreply_to() ? *d.vreply_to() : MTPMessageReplyHeader(),
d.vdate(),
d.vmessage(),
@@ -1154,6 +1155,7 @@ void Updates::applyUpdatesNoPtsCheck(const MTPUpdates &updates) {
MTPPeer(), // saved_peer_id
d.vfwd_from() ? *d.vfwd_from() : MTPMessageFwdHeader(),
MTP_long(d.vvia_bot_id().value_or_empty()),
MTPlong(), // via_business_bot_id
d.vreply_to() ? *d.vreply_to() : MTPMessageReplyHeader(),
d.vdate(),
d.vmessage(),