tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ChatBoostSourceGiftCode Class Reference

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. More...

#include <ChatBoostSourceGiftCode.h>

Inheritance diagram for TgBot::ChatBoostSourceGiftCode:
TgBot::ChatBoostSource

Public Types

typedef std::shared_ptr< ChatBoostSourceGiftCodePtr
 
- Public Types inherited from TgBot::ChatBoostSource
typedef std::shared_ptr< ChatBoostSourcePtr
 

Public Member Functions

 ChatBoostSourceGiftCode ()
 
- Public Member Functions inherited from TgBot::ChatBoostSource
 ChatBoostSource ()
 
virtual ~ChatBoostSource ()
 

Static Public Attributes

static const std::string SOURCE
 

Additional Inherited Members

- Public Attributes inherited from TgBot::ChatBoostSource
std::string source
 Source of the boost.
 
User::Ptr user
 User.
 

Detailed Description

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.

Definition at line 17 of file ChatBoostSourceGiftCode.h.

Member Typedef Documentation

◆ Ptr

Definition at line 22 of file ChatBoostSourceGiftCode.h.

Constructor & Destructor Documentation

◆ ChatBoostSourceGiftCode()

TgBot::ChatBoostSourceGiftCode::ChatBoostSourceGiftCode ( )
inline

Definition at line 24 of file ChatBoostSourceGiftCode.h.

Member Data Documentation

◆ SOURCE

const std::string TgBot::ChatBoostSourceGiftCode::SOURCE
static

Definition at line 20 of file ChatBoostSourceGiftCode.h.


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