2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

Update API scheme on layer 176.

This commit is contained in:
John Preston
2024-02-23 13:26:59 +04:00
parent c513906996
commit e05eb63476
7 changed files with 42 additions and 24 deletions

View File

@@ -162,7 +162,7 @@ void SendExistingMedia(
sentEntities,
MTP_int(message.action.options.scheduled),
(sendAs ? sendAs->input : MTP_inputPeerEmpty()),
MTPstring() // quick_reply_shortcut
MTPInputQuickReplyShortcut()
), [=](const MTPUpdates &result, const MTP::Response &response) {
}, [=](const MTP::Error &error, const MTP::Response &response) {
if (error.code() == 400
@@ -327,7 +327,7 @@ bool SendDice(MessageToSend &message) {
MTP_vector<MTPMessageEntity>(),
MTP_int(message.action.options.scheduled),
(sendAs ? sendAs->input : MTP_inputPeerEmpty()),
MTPstring() // quick_reply_shortcut
MTPInputQuickReplyShortcut()
), [=](const MTPUpdates &result, const MTP::Response &response) {
}, [=](const MTP::Error &error, const MTP::Response &response) {
api->sendMessageFail(error, peer, randomId, newId);