OptionalcaptionCaption of the animation to be sent, 0-1024 characters after entities parsing.
Optionalcaption_List of special entities that appear in the caption.
OptionaldurationAnimation duration in seconds.
Optionalhas_Pass True, if the animation needs to be covered with a spoiler animation.
OptionalheightAnimation height.
File to send. Pass a file_id to send a file that exists on the Telegram servers, an HTTP URL, or upload using InputFile.
Optionalparse_Mode for parsing entities in the animation caption.
Optionalshow_Pass True, if the caption must be shown above the message media.
OptionalthumbnailThumbnail of the file sent.
Type of the result, must be 'animation'.
OptionalwidthAnimation width.
Represents an animation file to be sent as part of a media group or edited media.
See
Telegram Bot API: InputMediaAnimation