2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Update API scheme to layer 176.

This commit is contained in:
John Preston
2024-02-21 17:54:01 +04:00
parent 1e5f821c6f
commit 1fe641c458
15 changed files with 86 additions and 31 deletions

View File

@@ -88,7 +88,8 @@ constexpr auto kRequestTimeLimit = 60 * crl::time(1000);
MTP_long(data.vgrouped_id().value_or_empty()),
MTPMessageReactions(),
MTPVector<MTPRestrictionReason>(),
MTP_int(data.vttl_period().value_or_empty()));
MTP_int(data.vttl_period().value_or_empty()),
MTPint()); // quick_reply_shortcut_id
});
}
@@ -238,7 +239,8 @@ void ScheduledMessages::sendNowSimpleMessage(
MTPlong(),
MTPMessageReactions(),
MTPVector<MTPRestrictionReason>(),
MTP_int(update.vttl_period().value_or_empty())),
MTP_int(update.vttl_period().value_or_empty()),
MTPint()), // quick_reply_shortcut_id
localFlags,
NewMessageType::Unread);