This object contains information about changes to a user payment subscription toward the current bot.
More...
#include <Types.h>
|
| std::shared_ptr< User > | user { } |
| | User who subscribed for payments toward the bot.
|
| std::string | invoicePayload { } |
| | Bot-specified invoice payload.
|
| std::string | state { } |
| | The new state of the subscription. Currently, it can be one of “canceled” if the user canceled the subscription, “active” if the user re-enabled a previously canceled subscription, or “failed” if payment for the subscription failed.
|
This object contains information about changes to a user payment subscription toward the current bot.
Definition at line 1151 of file Types.h.
◆ Ptr
◆ invoicePayload
| std::string TgBot::BotSubscriptionUpdated::invoicePayload { } |
Bot-specified invoice payload.
Definition at line 1162 of file Types.h.
◆ state
| std::string TgBot::BotSubscriptionUpdated::state { } |
The new state of the subscription. Currently, it can be one of “canceled” if the user canceled the subscription, “active” if the user re-enabled a previously canceled subscription, or “failed” if payment for the subscription failed.
Definition at line 1169 of file Types.h.
◆ user
| std::shared_ptr<User> TgBot::BotSubscriptionUpdated::user { } |
User who subscribed for payments toward the bot.
Definition at line 1157 of file Types.h.
The documentation for this struct was generated from the following file: