Skip to content

InputThumbnail

Type · TDLib 1.8.67 · d1085f9c

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

InputThumbnail(
  thumbnail: InputFile,
  width: int32,
  height: int32
) → InputThumbnail

thumbnail

InputFile

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

width

int32

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

height

int32

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