tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
The reaction is based on a custom emoji. https://core.telegram.org/bots/api#reactiontypecustomemoji. More...
#include <ReactionType.hpp>
Public Member Functions | |
ReactionTypeCustomEmoji () | |
ReactionTypeCustomEmoji (const nl::json &json) | |
nl::json | toJson () const override |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) override |
Deserializes this object from JSON. More... | |
Public Member Functions inherited from tgbotxx::ReactionType | |
ReactionType ()=default | |
ReactionType (const nl::json &json) | |
Public Attributes | |
std::string | customEmojiId |
Custom emoji identifier. More... | |
Public Attributes inherited from tgbotxx::ReactionType | |
std::string | type |
Type of the reaction, one of “emoji”, "custom_emoji. More... | |
The reaction is based on a custom emoji. https://core.telegram.org/bots/api#reactiontypecustomemoji.
Definition at line 70 of file ReactionType.hpp.
|
inline |
Definition at line 71 of file ReactionType.hpp.
|
inlineexplicit |
Definition at line 74 of file ReactionType.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 88 of file ReactionType.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 83 of file ReactionType.hpp.
std::string tgbotxx::ReactionTypeCustomEmoji::customEmojiId |
Custom emoji identifier.
Definition at line 80 of file ReactionType.hpp.