TDLib v0.0.2 TDLib.Object.InputMessageAnimation View Source
An animation message (GIF-style).
| Name | Type | Description |
|---|---|---|
| animation | InputFile | Animation file to be sent. |
| thumbnail | inputThumbnail | Animation thumbnail, if available. |
| 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; 0-200 characters. |
More details on telegram’s documentation.