|
tgbotxx 1.1.9.2
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 | ~ReactionType ()=default |
| virtual nl::json | toJson () const |
| Serializes this object to JSON. | |
| virtual void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::string | type |
| Type of the reaction, one of “emoji”, "custom_emoji. | |
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.
|
virtualdefault |
|
inlinevirtual |
Deserializes this object from JSON.
Reimplemented in tgbotxx::ReactionTypeEmoji, and tgbotxx::ReactionTypeCustomEmoji.
Definition at line 29 of file ReactionType.hpp.
|
inlinevirtual |
Serializes this object to JSON.
Reimplemented in tgbotxx::ReactionTypeEmoji, and tgbotxx::ReactionTypeCustomEmoji.
Definition at line 22 of file ReactionType.hpp.
| std::string tgbotxx::ReactionType::type |
Type of the reaction, one of “emoji”, "custom_emoji.
Definition at line 17 of file ReactionType.hpp.