tgbot-cpp
|
This object represents a change of a reaction on a message performed by a user. More...
#include <MessageReactionUpdated.h>
Public Types | |
typedef std::shared_ptr< MessageReactionUpdated > | Ptr |
Public Attributes | |
Chat::Ptr | chat |
The chat containing the message the user reacted to. | |
std::int32_t | messageId |
Unique identifier of the message inside the chat. | |
User::Ptr | user |
Optional. The user that changed the reaction, if the user isn't anonymous. | |
Chat::Ptr | actorChat |
Optional. The chat on behalf of which the reaction was changed, if the user is anonymous. | |
std::uint32_t | date |
Date of the change in Unix time. | |
std::vector< ReactionType::Ptr > | oldReaction |
Previous list of reaction types that were set by the user. | |
std::vector< ReactionType::Ptr > | newReaction |
New list of reaction types that have been set by the user. | |
This object represents a change of a reaction on a message performed by a user.
Definition at line 19 of file MessageReactionUpdated.h.
typedef std::shared_ptr<MessageReactionUpdated> TgBot::MessageReactionUpdated::Ptr |
Definition at line 22 of file MessageReactionUpdated.h.
Chat::Ptr TgBot::MessageReactionUpdated::actorChat |
Optional. The chat on behalf of which the reaction was changed, if the user is anonymous.
Definition at line 42 of file MessageReactionUpdated.h.
Chat::Ptr TgBot::MessageReactionUpdated::chat |
The chat containing the message the user reacted to.
Definition at line 27 of file MessageReactionUpdated.h.
std::uint32_t TgBot::MessageReactionUpdated::date |
Date of the change in Unix time.
Definition at line 47 of file MessageReactionUpdated.h.
std::int32_t TgBot::MessageReactionUpdated::messageId |
Unique identifier of the message inside the chat.
Definition at line 32 of file MessageReactionUpdated.h.
std::vector<ReactionType::Ptr> TgBot::MessageReactionUpdated::newReaction |
New list of reaction types that have been set by the user.
Definition at line 57 of file MessageReactionUpdated.h.
std::vector<ReactionType::Ptr> TgBot::MessageReactionUpdated::oldReaction |
Previous list of reaction types that were set by the user.
Definition at line 52 of file MessageReactionUpdated.h.
User::Ptr TgBot::MessageReactionUpdated::user |
Optional. The user that changed the reaction, if the user isn't anonymous.
Definition at line 37 of file MessageReactionUpdated.h.