Interface InputMessageVideo

A video message. Subtype of InputMessageContent.

interface InputMessageVideo {
    @type: "inputMessageVideo";
    caption: FormattedText;
    has_spoiler?: boolean;
    self_destruct_type: MessageSelfDestructType;
    show_caption_above_media?: boolean;
    video: InputVideo;
}

Properties

@type: "inputMessageVideo"
caption: FormattedText

Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.

has_spoiler?: boolean

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

self_destruct_type: MessageSelfDestructType

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

show_caption_above_media?: boolean

True, if the caption must be shown above the video; otherwise, the caption must be shown below the video; not supported in secret chats.

video: InputVideo

Video to be sent.