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

This object describes the source of a chat boost. More...

#include <ChatBoostSource.h>

Inheritance diagram for TgBot::ChatBoostSource:
TgBot::ChatBoostSourceGiftCode TgBot::ChatBoostSourceGiveaway TgBot::ChatBoostSourcePremium

Public Types

typedef std::shared_ptr< ChatBoostSourcePtr
 

Public Member Functions

 ChatBoostSource ()
 
virtual ~ChatBoostSource ()
 

Public Attributes

std::string source
 Source of the boost.
 
User::Ptr user
 User.
 

Detailed Description

This object describes the source of a chat boost.

It can be one of

Definition at line 21 of file ChatBoostSource.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<ChatBoostSource> TgBot::ChatBoostSource::Ptr

Definition at line 24 of file ChatBoostSource.h.

Constructor & Destructor Documentation

◆ ChatBoostSource()

TgBot::ChatBoostSource::ChatBoostSource ( )
inline

Definition at line 26 of file ChatBoostSource.h.

◆ ~ChatBoostSource()

virtual TgBot::ChatBoostSource::~ChatBoostSource ( )
inlinevirtual

Definition at line 28 of file ChatBoostSource.h.

Member Data Documentation

◆ source

std::string TgBot::ChatBoostSource::source

Source of the boost.

Definition at line 33 of file ChatBoostSource.h.

◆ user

User::Ptr TgBot::ChatBoostSource::user

User.

Definition at line 38 of file ChatBoostSource.h.


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