Interface InputThumbnail

A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size.

interface InputThumbnail {
    @type: "inputThumbnail";
    height: number;
    thumbnail: InputFile;
    width: number;
}

Properties

@type: "inputThumbnail"
height: number

Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown.

thumbnail: InputFile

Thumbnail file to send. Sending thumbnails by file_id is currently not supported.

width: number

Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown.