mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Update API scheme to layer 176.
This commit is contained in:
@@ -161,7 +161,8 @@ void SendExistingMedia(
|
||||
MTPReplyMarkup(),
|
||||
sentEntities,
|
||||
MTP_int(message.action.options.scheduled),
|
||||
(sendAs ? sendAs->input : MTP_inputPeerEmpty())
|
||||
(sendAs ? sendAs->input : MTP_inputPeerEmpty()),
|
||||
MTPstring() // quick_reply_shortcut
|
||||
), [=](const MTPUpdates &result, const MTP::Response &response) {
|
||||
}, [=](const MTP::Error &error, const MTP::Response &response) {
|
||||
if (error.code() == 400
|
||||
@@ -325,7 +326,8 @@ bool SendDice(MessageToSend &message) {
|
||||
MTPReplyMarkup(),
|
||||
MTP_vector<MTPMessageEntity>(),
|
||||
MTP_int(message.action.options.scheduled),
|
||||
(sendAs ? sendAs->input : MTP_inputPeerEmpty())
|
||||
(sendAs ? sendAs->input : MTP_inputPeerEmpty()),
|
||||
MTPstring() // quick_reply_shortcut
|
||||
), [=](const MTPUpdates &result, const MTP::Response &response) {
|
||||
}, [=](const MTP::Error &error, const MTP::Response &response) {
|
||||
api->sendMessageFail(error, peer, randomId, newId);
|
||||
|
Reference in New Issue
Block a user