1#ifndef TGBOT_MESSAGEREACTIONUPDATED_H
2#define TGBOT_MESSAGEREACTIONUPDATED_H
22 typedef std::shared_ptr<MessageReactionUpdated>
Ptr;
std::shared_ptr< Chat > Ptr
This object represents a change of a reaction on a message performed by a user.
std::vector< ReactionType::Ptr > oldReaction
Previous list of reaction types that were set by the user.
std::shared_ptr< MessageReactionUpdated > Ptr
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.
std::vector< ReactionType::Ptr > newReaction
New list of reaction types that have been set by the user.
std::uint32_t date
Date of the change in Unix time.
Chat::Ptr actorChat
Optional. The chat on behalf of which the reaction was changed, if the user is anonymous.
Chat::Ptr chat
The chat containing the message the user reacted to.
std::shared_ptr< User > Ptr