2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +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

@@ -322,7 +322,8 @@ AdminLog::OwnedItem GenerateContactItem(
MTP_string(),
MTP_long(0),
//MTPMessageReactions(),
MTPVector<MTPRestrictionReason>());
MTPVector<MTPRestrictionReason>(),
MTPint()); // ttl_period
const auto item = history->makeMessage(
message.c_message(),
MTPDmessage_ClientFlag::f_fake_history_item);