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";
    gram_amount: number;
    star_amount: StarAmount;
    suggested_post_message_id: number;
}

Properties

@type: "messageSuggestedPostPaid"
gram_amount: number

The amount of received TON Grams; in the smallest units of the cryptocurrency.

star_amount: StarAmount

The amount of received Telegram Stars.

suggested_post_message_id: number

Identifier of the message with the suggested post; may be 0 or an identifier of a deleted message.