ultra-telegram-framework
    Preparing search index...

    Interface PaidMediaPreview

    The paid media isn't available before the payment.

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

    Properties

    duration?: number

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

    height?: number

    Optional. Media height as defined by the sender

    type: string

    Type of the paid media, always "preview"

    width?: number

    Optional. Media width as defined by the sender