TDLib v0.0.2 TDLib.Object.InputThumbnail View Source
A thumbnail to be sent along with a file; should be in JPEG or WEBP format for stickers, and less than 200 kB in size.
Name | Type | Description |
---|---|---|
thumbnail | InputFile | Thumbnail file to send. Sending thumbnails by file_id is currently not supported. |
width | number | Thumbnail width, usually shouldn’t exceed 90. Use 0 if unknown. |
height | number | Thumbnail height, usually shouldn’t exceed 90. Use 0 if unknown. |
More details on telegram’s documentation.