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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user