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

Update API scheme to layer 180.

This commit is contained in:
John Preston
2024-05-06 17:49:49 +04:00
parent 2bbc7406da
commit f8188f360a
16 changed files with 65 additions and 27 deletions

View File

@@ -91,7 +91,8 @@ constexpr auto kRequestTimeLimit = 60 * crl::time(1000);
MTPMessageReactions(),
MTPVector<MTPRestrictionReason>(),
MTP_int(data.vttl_period().value_or_empty()),
MTPint()); // quick_reply_shortcut_id
MTPint(), // quick_reply_shortcut_id
MTP_long(data.veffect().value_or_empty())); // effect
});
}
@@ -259,7 +260,8 @@ void ScheduledMessages::sendNowSimpleMessage(
MTPMessageReactions(),
MTPVector<MTPRestrictionReason>(),
MTP_int(update.vttl_period().value_or_empty()),
MTPint()), // quick_reply_shortcut_id
MTPint(), // quick_reply_shortcut_id
MTP_long(local->effectId())), // effect
localFlags,
NewMessageType::Unread);