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

Describes an animation file. The animation must be encoded in GIF or MPEG4 format.

NameTypeDescription
durationnumberDuration of the animation, in seconds; as defined by the sender.
widthnumberWidth of the animation.
heightnumberHeight of the animation.
file_namestringOriginal name of the file; as defined by the sender.
mime_typestringMIME type of the file, usually "image/gif" or "video/mp4".
has_stickersboolTrue, if stickers were added to the animation. The list of corresponding sticker set can be received using getAttachedStickerSets.
minithumbnailminithumbnailAnimation minithumbnail; may be null.
thumbnailthumbnailAnimation thumbnail in JPEG or MPEG4 format; may be null.
animationfileFile containing the animation.

More details on telegram's documentation.