|
tgbot-cpp
|
The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<ChatBoostSourceGiftCode> |
Public Attributes | |
| std::string | source { SOURCE } |
| Source of the boost, always “gift_code” | |
| std::shared_ptr< User > | user { } |
| User for which the gift code was created. | |
Static Public Attributes | |
| static TGBOT_API const std::string | SOURCE |
The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.
| using TgBot::ChatBoostSourceGiftCode::Ptr = std::shared_ptr<ChatBoostSourceGiftCode> |
|
static |
| std::string TgBot::ChatBoostSourceGiftCode::source { SOURCE } |
| std::shared_ptr<User> TgBot::ChatBoostSourceGiftCode::user { } |