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

    Interface InputPaidMediaVideo

    The paid media to send is a video.

    interface InputPaidMediaVideo {
        cover?: string;
        duration?: number;
        height?: number;
        media: string;
        start_timestamp?: number;
        supports_streaming?: boolean;
        thumbnail?: string;
        type: "video";
        width?: number;
    }
    Index
    cover?: string

    Cover for the video in the message.

    duration?: number

    Video duration in seconds.

    height?: number

    Video height.

    media: string

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

    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

    Thumbnail of the file sent.

    type: "video"

    Type of the media, must be 'video'.

    width?: number

    Video width.