Raw.InputWebFileAudioAlbumThumbLocation

Raw.InputWebFileAudioAlbumThumbLocation

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

inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2?true document:flags.0?InputDocument title:flags.1?string performer:flags.1?string = InputWebFileLocation;
export namespace Raw {
  export class InputWebFileAudioAlbumThumbLocation {
    constructor(params: {
      small?: boolean;
      document?: Raw.TypeInputDocument;
      title?: string;
      performer?: string;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xf46fe924

Property

  • small : boolean or undefined

    Used to return a thumbnail with 100x100 resolution (instead of the default 600x600)

  • document : Raw.TypeInputDocument or undefined

    The audio file in question: must not be provided in secret chats, provide the title and performer fields instead.

  • title : string or undefined

    Song title: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.

  • performer : string or undefined

    Song performer: should only be used in secret chats, in normal chats provide document instead, as it has more lax rate limits.