mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-03 04:47:58 +00:00
Request small song thumbnails.
This commit is contained in:
parent
f4b80d8714
commit
c5702f0887
@ -850,7 +850,7 @@ inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector
|
||||
|
||||
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;
|
||||
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;
|
||||
|
||||
|
@ -564,7 +564,7 @@ mtpRequestId DownloadMtprotoTask::sendRequest(
|
||||
const auto owner = &api().session().data();
|
||||
return api().request(MTPupload_GetWebFile(
|
||||
MTP_inputWebFileAudioAlbumThumbLocation(
|
||||
MTP_flags(Flag::f_document),
|
||||
MTP_flags(Flag::f_document | Flag::f_small),
|
||||
owner->document(location.documentId)->mtpInput(),
|
||||
MTPstring(),
|
||||
MTPstring()),
|
||||
|
Loading…
Reference in New Issue
Block a user