Interface InputMessageVideoNote

A video note message. Subtype of InputMessageContent.

interface InputMessageVideoNote {
    @type: "inputMessageVideoNote";
    duration: number;
    length: number;
    self_destruct_type: MessageSelfDestructType;
    thumbnail: InputThumbnail;
    video_note: InputFile;
}

Properties

@type: "inputMessageVideoNote"
duration: number

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

length: number

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

self_destruct_type: MessageSelfDestructType

Video note self-destruct type; may be null if none; pass null if none; private chats only.

thumbnail: InputThumbnail

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

video_note: InputFile

Video note 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.