2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Update API scheme to layer 135.

This commit is contained in:
John Preston
2021-11-05 16:05:11 +04:00
parent bf18907fe6
commit 431e3035af
10 changed files with 66 additions and 22 deletions

View File

@@ -142,7 +142,8 @@ void SendExistingMedia(
MTP_long(randomId),
MTPReplyMarkup(),
sentEntities,
MTP_int(message.action.options.scheduled)
MTP_int(message.action.options.scheduled),
MTPInputPeer() // #TODO send_as
)).done([=](const MTPUpdates &result) {
api->applyUpdates(result, randomId);
finish();
@@ -297,7 +298,8 @@ bool SendDice(MessageToSend &message) {
MTP_long(randomId),
MTPReplyMarkup(),
MTP_vector<MTPMessageEntity>(),
MTP_int(message.action.options.scheduled)
MTP_int(message.action.options.scheduled),
MTPInputPeer() // #TODO send_as
)).done([=](const MTPUpdates &result) {
api->applyUpdates(result, randomId);
finish();