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

Update API scheme to layer 116.

This commit is contained in:
John Preston
2020-07-02 23:51:57 +04:00
parent 638d4d63c5
commit 1a9c241b96
4 changed files with 49 additions and 14 deletions

View File

@@ -222,6 +222,7 @@ SendMediaReady PreparePeerPhoto(MTP::DcId dcId, PeerId peerId, QImage &&image) {
MTP_bytes(),
MTP_int(base::unixtime::now()),
MTP_vector<MTPPhotoSize>(photoSizes),
MTPVector<MTPVideoSize>(),
MTP_int(dcId));
QString file, filename;
@@ -882,6 +883,7 @@ void FileLoadTask::process() {
MTP_bytes(),
MTP_int(base::unixtime::now()),
MTP_vector<MTPPhotoSize>(photoSizes),
MTPVector<MTPVideoSize>(),
MTP_int(_dcId));
if (filesize < 0) {