tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents a reaction added to a message along with the number of times it was added. https://core.telegram.org/bots/api#reactioncount. More...
#include <ReactionCount.hpp>
Public Member Functions | |
ReactionCount ()=default | |
ReactionCount (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
Ptr< ReactionType > | type |
Type of the reaction. More... | |
std::int32_t | totalCount {} |
Number of times the reaction was added. More... | |
Represents a reaction added to a message along with the number of times it was added. https://core.telegram.org/bots/api#reactioncount.
Definition at line 8 of file ReactionCount.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file ReactionCount.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 30 of file ReactionCount.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 22 of file ReactionCount.hpp.
std::int32_t tgbotxx::ReactionCount::totalCount {} |
Number of times the reaction was added.
Definition at line 18 of file ReactionCount.hpp.
Ptr<ReactionType> tgbotxx::ReactionCount::type |
Type of the reaction.
Definition at line 15 of file ReactionCount.hpp.