tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ChatBoostSource Struct Reference

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

Detailed Description

This object describes the source of a chat boost. It can be one of ChatBoostSourcePremium ChatBoostSourceGiftCode ChatBoostSourceGiveaway.

Definition at line 1756 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::ChatBoostSource::Ptr = std::shared_ptr<ChatBoostSource>

Definition at line 1757 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<ChatBoostSourcePremium>, std::shared_ptr<ChatBoostSourceGiftCode>, std::shared_ptr<ChatBoostSourceGiveaway> > TgBot::ChatBoostSource::value

Definition at line 1761 of file Types.h.


The documentation for this struct was generated from the following file: