Skip to main content

inputWebFileAudioAlbumThumbLocation

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

type tg.InputWebFileAudioAlbumThumbLocation struct { /* ... */ }

Implements InputWebFileLocation.

Fields

NameTypeRequiredDescription
SmallboolUsed to return a thumbnail with 100x100 resolution (instead of the default 600x600)
DocumentInputDocumentClassThe audio file in question: must NOT be provided in secret chats, provide the title and performer fields instead.
TitlestringSong title: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.
PerformerstringSong performer: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.

References