tgbot-cpp
Loading...
Searching...
No Matches
ReactionTypeEmoji.h
Go to the documentation of this file.
1
#ifndef TGBOT_REACTIONTYPEEMOJI_H
2
#define TGBOT_REACTIONTYPEEMOJI_H
3
4
#include "
tgbot/types/ReactionType.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
16
class
ReactionTypeEmoji
:
public
ReactionType
{
17
18
public
:
19
static
const
std::string
TYPE
;
20
21
typedef
std::shared_ptr<ReactionTypeEmoji>
Ptr
;
22
23
ReactionTypeEmoji
() {
24
this->
type
=
TYPE
;
25
}
26
34
std::string
emoji
;
35
};
36
}
37
38
#endif
//TGBOT_REACTIONTYPEEMOJI_H
ReactionType.h
TgBot::ReactionTypeEmoji
The reaction is based on an emoji.
Definition
ReactionTypeEmoji.h:16
TgBot::ReactionTypeEmoji::Ptr
std::shared_ptr< ReactionTypeEmoji > Ptr
Definition
ReactionTypeEmoji.h:21
TgBot::ReactionTypeEmoji::ReactionTypeEmoji
ReactionTypeEmoji()
Definition
ReactionTypeEmoji.h:23
TgBot::ReactionTypeEmoji::TYPE
static const std::string TYPE
Definition
ReactionTypeEmoji.h:19
TgBot::ReactionTypeEmoji::emoji
std::string emoji
Reaction emoji.
Definition
ReactionTypeEmoji.h:34
TgBot::ReactionType
This object describes the type of a reaction.
Definition
ReactionType.h:18
TgBot::ReactionType::type
std::string type
Type of the reaction.
Definition
ReactionType.h:30
TgBot
Definition
Api.h:40
include
tgbot
types
ReactionTypeEmoji.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0