Airgram

Guides
/
/
Input types

InputThumbnailInput

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.

This is an alias for the InputThumbnailInputUnion type.


NameTypeDescription
_"inputThumbnail"
thumbnail Thumbnail file to send. Sending thumbnails by file_id is currently not supported
widthnumber Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown
heightnumber Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown