Interface DraftMessageContentVideoNote

A video note message draft. Subtype of DraftMessageContent.

interface DraftMessageContentVideoNote {
    @type: "draftMessageContentVideoNote";
    duration: number;
    file_path: string;
    length: number;
    self_destruct_type: MessageSelfDestructType;
}

Properties

@type: "draftMessageContentVideoNote"
duration: number

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

file_path: string

Path to the file with the video note.

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.