Link Search Menu Expand Document

Constructor: inputWebFileAudioAlbumThumbLocation

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
smallBoolOptionalUsed to return a thumbnail with 100x100 resolution (instead of the default 600x600)
documentMessageMedia, Message, Update or InputDocumentOptionalThe audio file in question: must NOT be provided in secret chats, provide the title and performer fields instead.
titlestringOptionalSong title: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.
performerstringOptionalSong performer: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.

Type: InputWebFileLocation

Example:

$inputWebFileAudioAlbumThumbLocation = ['_' => 'inputWebFileAudioAlbumThumbLocation', 'small' => Bool, 'document' => InputDocument, 'title' => 'string', 'performer' => 'string'];