Interface InputVideoNote

A video note to be sent.

interface InputVideoNote {
    @type: "inputVideoNote";
    duration: number;
    length: number;
    thumbnail: InputThumbnail;
    video_note: InputFile;
}

Properties

@type: "inputVideoNote"
duration: number

Duration of the video, in seconds; 0-60.

length: number

Video width and height; must be positive and not greater than 640.

thumbnail: InputThumbnail

Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.

video_note: InputFile

Video note file to be sent. The video is expected to be encoded to MPEG4 format with H.264 codec and have no data outside of the visible circle.