Skip to content

GramIO API Reference / gramio/dist / TelegramSuggestedPostPaid

Interface: TelegramSuggestedPostPaid

Defined in: @gramio/types/out/objects.d.ts:3156

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

Documentation

Properties

PropertyTypeDescriptionDefined in
amount?numberOptional. The amount of the currency that was received by the channel in nanograms; for payments in TON grams only@gramio/types/out/objects.d.ts:3168
currencyTelegramSuggestedPostPaidCurrencyCurrency in which the payment was made. Currently, one of “XTR” for Telegram Stars or “TON” for TON grams.@gramio/types/out/objects.d.ts:3164
star_amount?TelegramStarAmountOptional. The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only@gramio/types/out/objects.d.ts:3172
suggested_post_message?TelegramMessageOptional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.@gramio/types/out/objects.d.ts:3160