Describes a service message about a successful payment for a suggested post.
More...
#include <Types.h>
|
| std::shared_ptr< Message > | suggestedPostMessage { } |
| | 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.
|
| std::string | currency { } |
| | Currency in which the payment was made. Currently, one of “XTR” for Telegram Stars or “TON” for TON grams.
|
| std::optional< std::int32_t > | amount { } |
| | Optional. The amount of the currency that was received by the channel in nanograms; for payments in TON grams only.
|
| std::shared_ptr< StarAmount > | starAmount { } |
| | Optional. The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only.
|
Describes a service message about a successful payment for a suggested post.
Definition at line 13907 of file Types.h.
◆ Ptr
◆ amount
| std::optional<std::int32_t> TgBot::SuggestedPostPaid::amount { } |
Optional. The amount of the currency that was received by the channel in nanograms; for payments in TON grams only.
Definition at line 13926 of file Types.h.
◆ currency
| std::string TgBot::SuggestedPostPaid::currency { } |
Currency in which the payment was made. Currently, one of “XTR” for Telegram Stars or “TON” for TON grams.
Definition at line 13920 of file Types.h.
◆ starAmount
| std::shared_ptr<StarAmount> TgBot::SuggestedPostPaid::starAmount { } |
Optional. The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only.
Definition at line 13932 of file Types.h.
◆ suggestedPostMessage
| std::shared_ptr<Message> TgBot::SuggestedPostPaid::suggestedPostMessage { } |
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.
Definition at line 13914 of file Types.h.
The documentation for this struct was generated from the following file: