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

    Interface SuggestedPostPaid

    Describes a service message about a successful payment for a suggested post.

    interface SuggestedPostPaid {
        amount?: number;
        currency: string;
        star_amount?: StarAmount;
        suggested_post_message?: Message;
    }
    Index
    amount?: number

    The amount of the currency that was received by the channel in nanograms; for payments in TON grams only.

    currency: string

    Currency in which the payment was made. Currently, one of "XTR" for Telegram Stars or "TON" for TON grams.

    star_amount?: StarAmount

    The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only.

    Optionalsuggested_post_message

    suggested_post_message?: Message

    Message containing the suggested post.

    The Message object in this field will not contain the reply_to_message field even if it itself is a reply.