InputMessageAnimation¶
An animation message (GIF-style).
InputMessageAnimation(
animation: InputAnimation,
caption: FormattedText,
show_caption_above_media: Bool,
has_spoiler: Bool
) → InputMessageContent
animation¶
The animation to be sent
caption¶
Animation caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters
show_caption_above_media¶
Bool
True, if the caption must be shown above the animation; otherwise, the caption must be shown below the animation; not supported in secret chats
has_spoiler¶
Bool
True, if the animation preview must be covered by a spoiler animation; not supported in secret chats