|
tgbotxx 1.1.9.2
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. | |
| void | fromJson (const nl::json &json) override |
| Deserializes this object from JSON. | |
Public Member Functions inherited from tgbotxx::ReactionType | |
| ReactionType ()=default | |
| ReactionType (const nl::json &json) | |
| virtual | ~ReactionType ()=default |
Public Attributes | |
| std::string | customEmojiId |
| Custom emoji identifier. | |
Public Attributes inherited from tgbotxx::ReactionType | |
| std::string | type |
| Type of the reaction, one of “emoji”, "custom_emoji. | |
The reaction is based on a custom emoji. https://core.telegram.org/bots/api#reactiontypecustomemoji.
Definition at line 71 of file ReactionType.hpp.
|
inline |
Definition at line 72 of file ReactionType.hpp.
|
inlineexplicit |
Definition at line 75 of file ReactionType.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 89 of file ReactionType.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 84 of file ReactionType.hpp.
| std::string tgbotxx::ReactionTypeCustomEmoji::customEmojiId |
Custom emoji identifier.
Definition at line 81 of file ReactionType.hpp.