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.

NameTypeDescription
thumbnailInputFileThumbnail file to send. Sending thumbnails by file_id is currently not supported.
widthnumberThumbnail width, usually shouldn’t exceed 90. Use 0 if unknown.
heightnumberThumbnail height, usually shouldn’t exceed 90. Use 0 if unknown.

More details on telegram’s documentation.