Skip to content

GramIO API Reference / gramio/dist / TelegramSuggestedPostPaid

Interface: TelegramSuggestedPostPaid

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

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 nanotoncoins; for payments in toncoins only@gramio/types/out/objects.d.ts:2670
currencyTelegramSuggestedPostPaidCurrencyCurrency in which the payment was made. Currently, one of “XTR” for Telegram Stars or “TON” for toncoins@gramio/types/out/objects.d.ts:2666
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:2674
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:2662