View Source ExTDLib.Object.InputMessageAnimation (ExTDLib v0.0.4)
An animation message (GIF-style).
| Name | Type | Description |
|---|---|---|
| animation | InputFile | Animation file to be sent. |
| thumbnail | inputThumbnail | Animation thumbnail; pass null to skip thumbnail uploading. |
| added_sticker_file_ids | number | File identifiers of the stickers added to the animation, if applicable. |
| duration | number | Duration of the animation, in seconds. |
| width | number | Width of the animation; may be replaced by the server. |
| height | number | Height of the animation; may be replaced by the server. |
| caption | formattedText | Animation caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters. |
| has_spoiler | bool | True, if the animation preview must be covered by a spoiler animation; not supported in secret chats. |
More details on telegram's documentation.