mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Request small song thumbnails.
This commit is contained in:
parent
f4b80d8714
commit
c5702f0887
2 changed files with 2 additions and 2 deletions
|
@ -850,7 +850,7 @@ inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector
|
||||||
|
|
||||||
inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation;
|
inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation;
|
||||||
inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation;
|
inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation;
|
||||||
inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# document:flags.0?InputDocument title:flags.1?string performer:flags.1?string = InputWebFileLocation;
|
inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2?true document:flags.0?InputDocument title:flags.1?string performer:flags.1?string = InputWebFileLocation;
|
||||||
|
|
||||||
upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;
|
upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;
|
||||||
|
|
||||||
|
|
|
@ -564,7 +564,7 @@ mtpRequestId DownloadMtprotoTask::sendRequest(
|
||||||
const auto owner = &api().session().data();
|
const auto owner = &api().session().data();
|
||||||
return api().request(MTPupload_GetWebFile(
|
return api().request(MTPupload_GetWebFile(
|
||||||
MTP_inputWebFileAudioAlbumThumbLocation(
|
MTP_inputWebFileAudioAlbumThumbLocation(
|
||||||
MTP_flags(Flag::f_document),
|
MTP_flags(Flag::f_document | Flag::f_small),
|
||||||
owner->document(location.documentId)->mtpInput(),
|
owner->document(location.documentId)->mtpInput(),
|
||||||
MTPstring(),
|
MTPstring(),
|
||||||
MTPstring()),
|
MTPstring()),
|
||||||
|
|
Loading…
Add table
Reference in a new issue