tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object describes the type of a reaction. Currently, it can be one of: More...
#include <ReactionType.hpp>
Public Member Functions | |
ReactionType ()=default | |
ReactionType (const nl::json &json) | |
virtual nl::json | toJson () const |
Serializes this object to JSON. More... | |
virtual void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::string | type |
Type of the reaction, one of “emoji”, "custom_emoji. More... | |
This object describes the type of a reaction. Currently, it can be one of:
Definition at line 9 of file ReactionType.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file ReactionType.hpp.
|
inlinevirtual |
Deserializes this object from JSON.
Reimplemented in tgbotxx::ReactionTypeCustomEmoji, and tgbotxx::ReactionTypeEmoji.
Definition at line 28 of file ReactionType.hpp.
|
inlinevirtual |
Serializes this object to JSON.
Reimplemented in tgbotxx::ReactionTypeCustomEmoji, and tgbotxx::ReactionTypeEmoji.
Definition at line 21 of file ReactionType.hpp.
std::string tgbotxx::ReactionType::type |
Type of the reaction, one of “emoji”, "custom_emoji.
Definition at line 16 of file ReactionType.hpp.