tgbot-cpp
Loading...
Searching...
No Matches
ChatBoostSourcePremium.h
Go to the documentation of this file.
1
#ifndef TGBOT_CHATBOOSTSOURCEPREMIUM_H
2
#define TGBOT_CHATBOOSTSOURCEPREMIUM_H
3
4
#include "
tgbot/types/ChatBoostSource.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
15
class
ChatBoostSourcePremium
:
public
ChatBoostSource
{
16
17
public
:
18
static
const
std::string
SOURCE
;
19
20
typedef
std::shared_ptr<ChatBoostSourcePremium>
Ptr
;
21
22
ChatBoostSourcePremium
() {
23
this->
source
=
SOURCE
;
24
}
25
};
26
}
27
28
#endif
//TGBOT_CHATBOOSTSOURCEPREMIUM_H
ChatBoostSource.h
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::ChatBoostSourcePremium
The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscripti...
Definition
ChatBoostSourcePremium.h:15
TgBot::ChatBoostSourcePremium::Ptr
std::shared_ptr< ChatBoostSourcePremium > Ptr
Definition
ChatBoostSourcePremium.h:20
TgBot::ChatBoostSourcePremium::ChatBoostSourcePremium
ChatBoostSourcePremium()
Definition
ChatBoostSourcePremium.h:22
TgBot::ChatBoostSourcePremium::SOURCE
static const std::string SOURCE
Definition
ChatBoostSourcePremium.h:18
TgBot
Definition
Api.h:40
include
tgbot
types
ChatBoostSourcePremium.h
Generated on Tue Jun 11 2024 00:46:34 for tgbot-cpp by
1.11.0