|
tgbotxx 1.2.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 65 of file ReactionType.hpp.
|
inline |
Definition at line 66 of file ReactionType.hpp.
|
inlineexplicit |
Definition at line 69 of file ReactionType.hpp.
Deserializes this object from JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 82 of file ReactionType.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 77 of file ReactionType.hpp.
| std::string tgbotxx::ReactionTypeCustomEmoji::customEmojiId |
Custom emoji identifier.
Definition at line 74 of file ReactionType.hpp.