tgbot-cpp
Loading...
Searching...
No Matches
ChatBoostSourceGiftCode.h
Go to the documentation of this file.
1
#ifndef TGBOT_CHATBOOSTSOURCEGIFTCODE_H
2
#define TGBOT_CHATBOOSTSOURCEGIFTCODE_H
3
4
#include "
tgbot/types/ChatBoostSource.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
17
class
ChatBoostSourceGiftCode
:
public
ChatBoostSource
{
18
19
public
:
20
static
const
std::string
SOURCE
;
21
22
typedef
std::shared_ptr<ChatBoostSourceGiftCode>
Ptr
;
23
24
ChatBoostSourceGiftCode
() {
25
this->
source
=
SOURCE
;
26
}
27
};
28
}
29
30
#endif
//TGBOT_CHATBOOSTSOURCEGIFTCODE_H
ChatBoostSource.h
TgBot::ChatBoostSourceGiftCode
The boost was obtained by the creation of Telegram Premium gift codes to boost a chat.
Definition
ChatBoostSourceGiftCode.h:17
TgBot::ChatBoostSourceGiftCode::Ptr
std::shared_ptr< ChatBoostSourceGiftCode > Ptr
Definition
ChatBoostSourceGiftCode.h:22
TgBot::ChatBoostSourceGiftCode::SOURCE
static const std::string SOURCE
Definition
ChatBoostSourceGiftCode.h:20
TgBot::ChatBoostSourceGiftCode::ChatBoostSourceGiftCode
ChatBoostSourceGiftCode()
Definition
ChatBoostSourceGiftCode.h:24
TgBot::ChatBoostSource
This object describes the source of a chat boost.
Definition
ChatBoostSource.h:21
TgBot::ChatBoostSource::source
std::string source
Source of the boost.
Definition
ChatBoostSource.h:33
TgBot
Definition
Api.h:40
include
tgbot
types
ChatBoostSourceGiftCode.h
Generated on Tue Jun 11 2024 00:46:34 for tgbot-cpp by
1.11.0