tgbot-cpp
Loading...
Searching...
No Matches
ReactionTypeCustomEmoji.h
Go to the documentation of this file.
1
#ifndef TGBOT_REACTIONTYPECUSTOMEMOJI_H
2
#define TGBOT_REACTIONTYPECUSTOMEMOJI_H
3
4
#include "
tgbot/types/ReactionType.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
16
class
ReactionTypeCustomEmoji
:
public
ReactionType
{
17
18
public
:
19
static
const
std::string
TYPE
;
20
21
typedef
std::shared_ptr<ReactionTypeCustomEmoji>
Ptr
;
22
23
ReactionTypeCustomEmoji
() {
24
this->
type
=
TYPE
;
25
}
26
30
std::string
customEmojiId
;
31
};
32
}
33
34
#endif
//TGBOT_REACTIONTYPECUSTOMEMOJI_H
ReactionType.h
TgBot::ReactionTypeCustomEmoji
The reaction is based on a custom emoji.
Definition
ReactionTypeCustomEmoji.h:16
TgBot::ReactionTypeCustomEmoji::customEmojiId
std::string customEmojiId
Custom emoji identifier.
Definition
ReactionTypeCustomEmoji.h:30
TgBot::ReactionTypeCustomEmoji::TYPE
static const std::string TYPE
Definition
ReactionTypeCustomEmoji.h:19
TgBot::ReactionTypeCustomEmoji::Ptr
std::shared_ptr< ReactionTypeCustomEmoji > Ptr
Definition
ReactionTypeCustomEmoji.h:21
TgBot::ReactionTypeCustomEmoji::ReactionTypeCustomEmoji
ReactionTypeCustomEmoji()
Definition
ReactionTypeCustomEmoji.h:23
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
ReactionTypeCustomEmoji.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0