Update API scheme to layer 185.

This commit is contained in:
John Preston
2024-07-17 10:38:50 +02:00
parent f749616dd8
commit 5c797d1f31
20 changed files with 196 additions and 41 deletions

View File

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

View File

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