Interface InputVideo

A video to be sent.

interface InputVideo {
    @type: "inputVideo";
    added_sticker_file_ids: number[];
    cover: InputFile;
    duration: number;
    height: number;
    start_timestamp: number;
    supports_streaming?: boolean;
    thumbnail: InputThumbnail;
    video: InputFile;
    width: number;
}

Properties

@type: "inputVideo"
added_sticker_file_ids: number[]

File identifiers of the stickers added to the video, if applicable.

cover: InputFile

Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages.

duration: number

Duration of the video, in seconds.

height: number

Video height.

start_timestamp: number

Timestamp from which the video playing must start, in seconds.

supports_streaming?: boolean

True, if the video is expected to be streamed.

thumbnail: InputThumbnail

Video thumbnail; pass null to skip thumbnail uploading.

video: InputFile

Video file to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender.

width: number

Video width.