TDLib v0.0.2 TDLib.Object.InputMessageAnimation View Source

An animation message (GIF-style).

NameTypeDescription
animationInputFileAnimation file to be sent.
thumbnailinputThumbnailAnimation thumbnail, if available.
durationnumberDuration of the animation, in seconds.
widthnumberWidth of the animation; may be replaced by the server.
heightnumberHeight of the animation; may be replaced by the server.
captionformattedTextAnimation caption; 0-200 characters.

More details on telegram’s documentation.