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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
amount? | number | Optional. 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 |
currency | TelegramSuggestedPostPaidCurrency | Currency 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? | TelegramStarAmount | Optional. 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? | TelegramMessage | Optional. 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 |