Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>InputWebFileAudioAlbumThumbLocation_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InputWebFileAudioAlbumThumbLocation_
import { InputWebFileAudioAlbumThumbLocation_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

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

Constructors

new
InputWebFileAudioAlbumThumbLocation_(params?: { small?: true; document?: enums.InputDocument; title?: string; performer?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
document: enums.InputDocument

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

optional
performer: string

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

optional
small: true

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

optional
title: string

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

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc