View Source ExTDLib.Object.InputMessageAnimation (ExTDLib v0.0.4)

An animation message (GIF-style).

NameTypeDescription
animationInputFileAnimation file to be sent.
thumbnailinputThumbnailAnimation thumbnail; pass null to skip thumbnail uploading.
added_sticker_file_idsnumberFile identifiers of the stickers added to the animation, if applicable.
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; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
has_spoilerboolTrue, if the animation preview must be covered by a spoiler animation; not supported in secret chats.

More details on telegram's documentation.