Interface InputStoryContentVideo

A video story. Subtype of InputStoryContent.

interface InputStoryContentVideo {
    @type: "inputStoryContentVideo";
    added_sticker_file_ids: number[];
    cover_frame_timestamp: number;
    duration: number;
    is_animation?: boolean;
    video: InputFile;
}

Properties

@type: "inputStoryContentVideo"
added_sticker_file_ids: number[]

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

cover_frame_timestamp: number

Timestamp of the frame, which will be used as video thumbnail.

duration: number

Precise duration of the video, in seconds; 0-60.

is_animation?: boolean

True, if the video has no sound.

video: InputFile

Video to be sent. The video size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with H.265 codec and key frames added each second.