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

Update API scheme to layer181.

This commit is contained in:
John Preston
2024-05-16 14:15:24 +04:00
parent 1ce49df123
commit 39e03c3ca7
8 changed files with 47 additions and 12 deletions

View File

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