inputWebFileAudioAlbumThumbLocation #

Used to download an album cover for any music file using upload.getWebFile, see the webfile docs for more info ».

Layer 223

inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2?true document:flags.0?InputDocument title:flags.1?string performer:flags.1?string = InputWebFileLocation;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
smallflags.2?trueUsed to return a thumbnail with 100x100 resolution (instead of the default 600x600)
documentflags.0?InputDocumentThe audio file in question: must NOT be provided in secret chats, provide the title and performer fields instead.
titleflags.1?stringSong title: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.
performerflags.1?stringSong performer: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.

Type #

InputWebFileLocation

upload.getWebfile #

Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.

Note: the query must be sent to the DC specified in the webfile_dc_id MTProto configuration field.

Uploading and Downloading Files #

How to transfer large data batches correctly.