|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The reaction is based on an emoji. https://core.telegram.org/bots/api#reactiontypeemoji. More...
#include <ReactionType.hpp>
Public Member Functions | |
| ReactionTypeEmoji () | |
| ReactionTypeEmoji (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 | emoji |
| Reaction emoji. Currently,it can be one of "๐", "๐", "โค", "๐ฅ", "๐ฅฐ", "๐", "๐", "๐ค", "๐คฏ", "๐ฑ", "๐คฌ", "๐ข", "๐", "๐คฉ", "๐คฎ", "๐ฉ", "๐", "๐", "๐", "๐คก", "๐ฅฑ", "๐ฅด", "๐", "๐ณ", "โคโ๐ฅ", "๐", "๐ญ", "๐ฏ", "๐คฃ", "โก", "๐", "๐", "๐", "๐คจ", "๐", "๐", "๐พ", "๐", "๐", "๐", "๐ด", "๐ญ", "๐ค", "๐ป", "๐จโ๐ป", "๐", "๐", "๐", "๐", "๐จ", "๐ค", "โ", "๐ค", "๐ซก", "๐
", "๐", "โ", "๐
", "๐คช", "๐ฟ", "๐", "๐", "๐", "๐ฆ", "๐", "๐", "๐", "๐", "๐พ", "๐คทโโ", "๐คท", "๐คทโโ", "๐ก". | |
Public Attributes inherited from tgbotxx::ReactionType | |
| std::string | type |
| Type of the reaction, one of โemojiโ, "custom_emoji. | |
The reaction is based on an emoji. https://core.telegram.org/bots/api#reactiontypeemoji.
Definition at line 41 of file ReactionType.hpp.
|
inline |
Definition at line 42 of file ReactionType.hpp.
|
inlineexplicit |
Definition at line 45 of file ReactionType.hpp.
|
inlineoverridevirtual |
Deserializes this object from JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 63 of file ReactionType.hpp.
|
inlineoverridevirtual |
Serializes this object to JSON.
Reimplemented from tgbotxx::ReactionType.
Definition at line 58 of file ReactionType.hpp.
| std::string tgbotxx::ReactionTypeEmoji::emoji |
Reaction emoji. Currently,it can be one of "๐", "๐", "โค", "๐ฅ", "๐ฅฐ", "๐", "๐", "๐ค", "๐คฏ", "๐ฑ", "๐คฌ", "๐ข", "๐", "๐คฉ", "๐คฎ", "๐ฉ", "๐", "๐", "๐", "๐คก", "๐ฅฑ", "๐ฅด", "๐", "๐ณ", "โคโ๐ฅ", "๐", "๐ญ", "๐ฏ", "๐คฃ", "โก", "๐", "๐", "๐", "๐คจ", "๐", "๐", "๐พ", "๐", "๐", "๐", "๐ด", "๐ญ", "๐ค", "๐ป", "๐จโ๐ป", "๐", "๐", "๐", "๐", "๐จ", "๐ค", "โ", "๐ค", "๐ซก", "๐ ", "๐", "โ", "๐ ", "๐คช", "๐ฟ", "๐", "๐", "๐", "๐ฆ", "๐", "๐", "๐", "๐", "๐พ", "๐คทโโ", "๐คท", "๐คทโโ", "๐ก".
Definition at line 55 of file ReactionType.hpp.