Interface MessageSuggestedPostPaid

A suggested post was published for getOption("suggested_post_lifetime_min") seconds and payment for the post was received. Subtype of MessageContent.

interface MessageSuggestedPostPaid {
    @type: "messageSuggestedPostPaid";
    star_amount: StarAmount;
    suggested_post_message_id: number;
    ton_amount: number;
}

Properties

@type: "messageSuggestedPostPaid"
star_amount: StarAmount

The amount of received Telegram Stars.

suggested_post_message_id: number

Identifier of the message with the suggested post; can be 0 if the message was deleted.

ton_amount: number

The amount of received Toncoins; in the smallest units of the cryptocurrency.