Skip to content

SuggestedPostPaid

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

Fields

suggested_post_messageMessageOptional
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.
currencyStringRequired
Values:XTRTON
Currency in which the payment was made. Currently, one of "XTR" for Telegram Stars or "TON" for toncoins
amountIntegerOptional
Optional. The amount of the currency that was received by the channel in nanotoncoins; for payments in toncoins only
star_amountStarAmountOptional
Optional. The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only

GramIO Usage

See Also