|
tgbot-cpp
|
This object describes the source of a chat boost. It can be one of ChatBoostSourcePremium ChatBoostSourceGiftCode ChatBoostSourceGiveaway. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<ChatBoostSource> |
Public Attributes | |
| std::variant< std::shared_ptr< ChatBoostSourcePremium >, std::shared_ptr< ChatBoostSourceGiftCode >, std::shared_ptr< ChatBoostSourceGiveaway > > | value |
This object describes the source of a chat boost. It can be one of ChatBoostSourcePremium ChatBoostSourceGiftCode ChatBoostSourceGiveaway.
| using TgBot::ChatBoostSource::Ptr = std::shared_ptr<ChatBoostSource> |
| std::variant<std::shared_ptr<ChatBoostSourcePremium>, std::shared_ptr<ChatBoostSourceGiftCode>, std::shared_ptr<ChatBoostSourceGiveaway> > TgBot::ChatBoostSource::value |