telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface InputMediaVideo

    Represents a video to be sent as part of a media group or edited media.

    interface InputMediaVideo {
        caption?: string;
        caption_entities?: MessageEntity[];
        cover?: string | InputFile;
        duration?: number;
        has_spoiler?: boolean;
        height?: number;
        media: string | InputFile;
        parse_mode?: ParseMode;
        show_caption_above_media?: boolean;
        start_timestamp?: number;
        supports_streaming?: boolean;
        thumbnail?: string | InputFile;
        type: "video";
        width?: number;
    }
    Index
    caption?: string

    Caption of the video to be sent, 0-1024 characters after entities parsing.

    caption_entities?: MessageEntity[]

    List of special entities that appear in the caption.

    cover?: string | InputFile

    Cover for the video in the message. Pass a file_id, an HTTP URL, or upload using InputFile.

    duration?: number

    Video duration in seconds.

    has_spoiler?: boolean

    Pass True, if the video needs to be covered with a spoiler animation.

    height?: number

    Video height.

    media: string | InputFile

    File to send. Pass a file_id to send a file that exists on the Telegram servers, an HTTP URL, or upload using InputFile.

    parse_mode?: ParseMode

    Mode for parsing entities in the video caption.

    show_caption_above_media?: boolean

    Pass True, if the caption must be shown above the message media.

    start_timestamp?: number

    Start timestamp for the video in the message.

    supports_streaming?: boolean

    Pass True, if the uploaded video is suitable for streaming.

    thumbnail?: string | InputFile

    Thumbnail of the file sent.

    type: "video"

    Type of the result, must be 'video'.

    width?: number

    Video width.