Skip to content

InputMessageAnimation

Type · TDLib 1.8.67 · d1085f9c

An animation message (GIF-style).

InputMessageAnimation(
  animation: InputAnimation,
  caption: FormattedText,
  show_caption_above_media: Bool,
  has_spoiler: Bool
) → InputMessageContent

animation

InputAnimation

The animation to be sent

caption

FormattedText

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