|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents reaction changes on a message with anonymous reactions. https://core.telegram.org/bots/api#messagereactioncountupdated. More...
#include <MessageReactionCountUpdated.hpp>
Public Member Functions | |
| MessageReactionCountUpdated ()=default | |
| MessageReactionCountUpdated (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| Ptr< Chat > | chat |
| The chat containing the message. | |
| std::int32_t | messageId {} |
| Unique message identifier inside the chat. | |
| std::time_t | date {} |
| Date of the change in Unix time. | |
| std::vector< Ptr< ReactionCount > > | reactions |
| List of reactions that are present on the message. | |
This object represents reaction changes on a message with anonymous reactions. https://core.telegram.org/bots/api#messagereactioncountupdated.
Definition at line 10 of file MessageReactionCountUpdated.hpp.
|
default |
|
inlineexplicit |
Definition at line 12 of file MessageReactionCountUpdated.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 41 of file MessageReactionCountUpdated.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 31 of file MessageReactionCountUpdated.hpp.
The chat containing the message.
Definition at line 17 of file MessageReactionCountUpdated.hpp.
| std::time_t tgbotxx::MessageReactionCountUpdated::date {} |
Date of the change in Unix time.
Definition at line 23 of file MessageReactionCountUpdated.hpp.
| std::int32_t tgbotxx::MessageReactionCountUpdated::messageId {} |
Unique message identifier inside the chat.
Definition at line 20 of file MessageReactionCountUpdated.hpp.
| std::vector<Ptr<ReactionCount> > tgbotxx::MessageReactionCountUpdated::reactions |
List of reactions that are present on the message.
Definition at line 26 of file MessageReactionCountUpdated.hpp.