2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Use getters in MTP classes.

This commit is contained in:
John Preston
2019-07-05 15:38:38 +02:00
parent 3ca28c0cf9
commit 567bf60644
100 changed files with 2807 additions and 2672 deletions

View File

@@ -303,18 +303,18 @@ AdminLog::OwnedItem GenerateContactItem(
MTP_int(viaBotId),
MTP_int(replyTo),
MTP_int(unixtime()),
MTP_string(QString()),
MTP_string(),
MTP_messageMediaContact(
MTP_string(data.phone),
MTP_string(data.firstName),
MTP_string(data.lastName),
MTP_string(QString()),
MTP_string(),
MTP_int(0)),
MTPReplyMarkup(),
MTPVector<MTPMessageEntity>(),
MTP_int(0),
MTP_int(0),
MTP_string(QString()),
MTP_string(),
MTP_long(0));
const auto item = history->owner().makeMessage(
history,