Skip to content

InputMessageVideo

Type · TDLib 1.8.67 · d1085f9c

A video message

InputMessageVideo(
  video: InputVideo,
  caption: FormattedText,
  show_caption_above_media: Bool,
  self_destruct_type: MessageSelfDestructType,
  has_spoiler: Bool
) → InputMessageContent

video

InputVideo

Video to be sent

caption

FormattedText

Video 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 video; otherwise, the caption must be shown below the video; not supported in secret chats

self_destruct_type

MessageSelfDestructType

Video self-destruct type; pass null if none; private chats only

has_spoiler

Bool

True, if the video preview must be covered by a spoiler animation; not supported in secret chats