tgbot-cpp
Loading...
Searching...
No Matches
ChatBoostSource.h
Go to the documentation of this file.
1
#ifndef TGBOT_CHATBOOSTSOURCE_H
2
#define TGBOT_CHATBOOSTSOURCE_H
3
4
#include "
tgbot/types/User.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
21
class
ChatBoostSource
{
22
23
public
:
24
typedef
std::shared_ptr<ChatBoostSource>
Ptr
;
25
26
ChatBoostSource
() {}
27
28
virtual
~ChatBoostSource
() {}
29
33
std::string
source
;
34
38
User::Ptr
user
;
39
};
40
}
41
42
#endif
//TGBOT_CHATBOOSTSOURCE_H
User.h
TgBot::ChatBoostSource
This object describes the source of a chat boost.
Definition
ChatBoostSource.h:21
TgBot::ChatBoostSource::user
User::Ptr user
User.
Definition
ChatBoostSource.h:38
TgBot::ChatBoostSource::Ptr
std::shared_ptr< ChatBoostSource > Ptr
Definition
ChatBoostSource.h:24
TgBot::ChatBoostSource::ChatBoostSource
ChatBoostSource()
Definition
ChatBoostSource.h:26
TgBot::ChatBoostSource::~ChatBoostSource
virtual ~ChatBoostSource()
Definition
ChatBoostSource.h:28
TgBot::ChatBoostSource::source
std::string source
Source of the boost.
Definition
ChatBoostSource.h:33
TgBot::User::Ptr
std::shared_ptr< User > Ptr
Definition
User.h:18
TgBot
Definition
Api.h:40
include
tgbot
types
ChatBoostSource.h
Generated on Tue Jun 11 2024 00:46:34 for tgbot-cpp by
1.11.0