tgbot-cpp
Loading...
Searching...
No Matches
TgBot::MessageReactionUpdated Class Reference

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< MessageReactionUpdatedPtr
 

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::PtroldReaction
 Previous list of reaction types that were set by the user.
 
std::vector< ReactionType::PtrnewReaction
 New list of reaction types that have been set by the user.
 

Detailed Description

This object represents a change of a reaction on a message performed by a user.

Definition at line 19 of file MessageReactionUpdated.h.

Member Typedef Documentation

◆ Ptr

Definition at line 22 of file MessageReactionUpdated.h.

Member Data Documentation

◆ actorChat

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

Chat::Ptr TgBot::MessageReactionUpdated::chat

The chat containing the message the user reacted to.

Definition at line 27 of file MessageReactionUpdated.h.

◆ date

std::uint32_t TgBot::MessageReactionUpdated::date

Date of the change in Unix time.

Definition at line 47 of file MessageReactionUpdated.h.

◆ messageId

std::int32_t TgBot::MessageReactionUpdated::messageId

Unique identifier of the message inside the chat.

Definition at line 32 of file MessageReactionUpdated.h.

◆ newReaction

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.

◆ oldReaction

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

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.


The documentation for this class was generated from the following file: