Interface Video

Describes a video file.

interface Video {
    @type: "video";
    duration: number;
    file_name: string;
    has_stickers?: boolean;
    height: number;
    mime_type: string;
    minithumbnail: Minithumbnail;
    supports_streaming?: boolean;
    thumbnail: Thumbnail;
    video: File;
    width: number;
}

Properties

@type: "video"
duration: number

Duration of the video, in seconds; as defined by the sender.

file_name: string

Original name of the file; as defined by the sender.

has_stickers?: boolean

True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets.

height: number

Video height; as defined by the sender.

mime_type: string

MIME type of the file; as defined by the sender.

minithumbnail: Minithumbnail

Video minithumbnail; may be null.

supports_streaming?: boolean

True, if the video is expected to be streamed.

thumbnail: Thumbnail

Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null.

video: File

File containing the video.

width: number

Video width; as defined by the sender.