OptionaldescriptionTitle of the result
OptionaldurationDuration of the animation in seconds
OptionalheightHeight of the animation in pixels
Unique ID of the result
The animation itself.
Can be a URL, a TDLib and Bot API compatible File ID, or a TL object representing either of them.
OptionalmessageMessage to send when the result is selected.
By default, is automatically generated, and details about how it is generated can be found in subclasses' description
OptionalmimeMedia MIME type, only applicable to URLs.
Usually unnecessary, since Telegram automatically infers it.
OptionalthumbAnimation thumbnail URL, only applicable in case media is a URL
OptionalthumbThumbnail MIME type
OptionaltitleTitle of the result
OptionalwidthWidth of the animation in pixels
Inline result containing an animation (silent mp4 or gif).
If
messageis not provided, InputInlineMessageMedia is used with empty caption