mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Update API scheme to layer 114.
This commit is contained in:
@@ -909,6 +909,7 @@ void FileLoadTask::process() {
|
||||
MTP_string(filemime),
|
||||
MTP_int(filesize),
|
||||
MTP_vector<MTPPhotoSize>(1, thumbnail.mtpSize),
|
||||
MTPVector<MTPVideoSize>(),
|
||||
MTP_int(MTP::maindc()),
|
||||
MTP_vector<MTPDocumentAttribute>(attributes));
|
||||
} else if (_type != SendMediaType::Photo) {
|
||||
@@ -921,6 +922,7 @@ void FileLoadTask::process() {
|
||||
MTP_string(filemime),
|
||||
MTP_int(filesize),
|
||||
MTP_vector<MTPPhotoSize>(1, thumbnail.mtpSize),
|
||||
MTPVector<MTPVideoSize>(),
|
||||
MTP_int(MTP::maindc()),
|
||||
MTP_vector<MTPDocumentAttribute>(attributes));
|
||||
_type = SendMediaType::File;
|
||||
|
Reference in New Issue
Block a user