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.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "inputThumbnail" | |
thumbnail | 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 |
height | number | Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown |