Documentation - v0.27.0
    Preparing search index...

    Interface InputMediaPaidMedia

    interface InputMediaPaidMedia {
        caption?: InputText;
        media: MaybeArray<InputMediaLike>;
        payload?: string;
        starsAmount: number | Long;
        type: "paid";
    }

    Hierarchy (View Summary)

    Index

    Properties

    caption?: InputText

    Caption of the media

    Media to be sent

    payload?: string

    Custom payload (for bots only)

    starsAmount: number | Long

    Amount of stars that should be paid for the media

    type: "paid"