Interface MessageVideo

A video message. Subtype of MessageContent.

interface MessageVideo {
    @type: "messageVideo";
    alternative_videos: AlternativeVideo[];
    caption: FormattedText;
    has_spoiler?: boolean;
    is_secret?: boolean;
    show_caption_above_media?: boolean;
    video: Video;
}

Properties

@type: "messageVideo"
alternative_videos: AlternativeVideo[]

Alternative qualities of the video.

caption: FormattedText

Video caption.

has_spoiler?: boolean

True, if the video preview must be covered by a spoiler animation.

is_secret?: boolean

True, if the video thumbnail must be blurred and the video must be shown only while tapped.

show_caption_above_media?: boolean

True, if the caption must be shown above the video; otherwise, the caption must be shown below the video.

video: Video

The video description.