Update API scheme to layer 188.

This commit is contained in:
John Preston
2024-09-13 20:44:36 +04:00
parent 4a84f9fa00
commit a2fad84dae
18 changed files with 49 additions and 10 deletions

View File

@@ -846,7 +846,8 @@ void FileLoadTask::process(Args &&args) {
MTP_int(coverWidth),
MTP_int(coverHeight),
MTPint(), // preload_prefix_size
MTPdouble())); // video_start_ts
MTPdouble(), // video_start_ts
MTPstring())); // video_codec
if (args.generateGoodThumbnail) {
goodThumbnail = video->thumbnail;

View File

@@ -208,7 +208,8 @@ DocumentData *Document::readFromStreamHelper(
MTP_int(width),
MTP_int(height),
MTPint(), // preload_prefix_size
MTPdouble())); // video_start_ts
MTPdouble(), // video_start_ts
MTPstring())); // video_codec
} else {
attributes.push_back(MTP_documentAttributeImageSize(
MTP_int(width),