TDLib v0.0.2 TDLib.Object.Animation View Source
Describes an animation file. The animation must be encoded in GIF or MPEG4 format.
| Name | Type | Description |
|---|---|---|
| duration | number | Duration of the animation, in seconds; as defined by the sender. |
| width | number | Width of the animation. |
| height | number | Height of the animation. |
| file_name | string | Original name of the file; as defined by the sender. |
| mime_type | string | MIME type of the file, usually “image/gif” or “video/mp4”. |
| thumbnail | photoSize | Animation thumbnail; may be null. |
| animation | file | File containing the animation. |
More details on telegram’s documentation.