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

Update API scheme to layer 124.

This commit is contained in:
John Preston
2021-02-02 14:10:38 +04:00
parent fe7cdd7c0b
commit 502a3ca70f
14 changed files with 103 additions and 43 deletions

View File

@@ -4129,7 +4129,8 @@ void ApiWrap::sendSharedContact(
MTP_string(messagePostAuthor),
MTPlong(),
//MTPMessageReactions(),
MTPVector<MTPRestrictionReason>()),
MTPVector<MTPRestrictionReason>(),
MTPint()), // ttl_period
clientFlags,
NewMessageType::Unread);
@@ -4407,7 +4408,8 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
MTP_string(messagePostAuthor),
MTPlong(),
//MTPMessageReactions(),
MTPVector<MTPRestrictionReason>()),
MTPVector<MTPRestrictionReason>(),
MTPint()), // ttl_period
clientFlags,
NewMessageType::Unread);
histories.sendRequest(history, requestType, [=](Fn<void()> finish) {