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

    Interface PaidMediaPreview

    The paid media isn't available before the payment.

    interface PaidMediaPreview {
        duration?: number;
        height?: number;
        type: "preview";
        width?: number;
    }
    Index
    duration?: number

    Duration of the media in seconds as defined by the sender.

    height?: number

    Media height as defined by the sender.

    type: "preview"

    Type of the paid media, always "preview".

    width?: number

    Media width as defined by the sender.