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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<MessageReactionUpdated>

Public Attributes

std::shared_ptr< Chatchat { }
 The chat containing the message the user reacted to.
std::int32_t messageId { }
 Unique identifier of the message inside the chat.
std::shared_ptr< Useruser { }
 Optional. The user that changed the reaction, if the user isn't anonymous.
std::shared_ptr< ChatactorChat { }
 Optional. The chat on behalf of which the reaction was changed, if the user is anonymous.
std::int32_t date { }
 Date of the change in Unix time.
std::vector< std::shared_ptr< ReactionType > > oldReaction { }
 Previous list of reaction types that were set by the user.
std::vector< std::shared_ptr< ReactionType > > newReaction { }
 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 9890 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 9891 of file Types.h.

Member Data Documentation

◆ actorChat

std::shared_ptr<Chat> TgBot::MessageReactionUpdated::actorChat { }

Optional. The chat on behalf of which the reaction was changed, if the user is anonymous.

Definition at line 9911 of file Types.h.

◆ chat

std::shared_ptr<Chat> TgBot::MessageReactionUpdated::chat { }

The chat containing the message the user reacted to.

Definition at line 9896 of file Types.h.

◆ date

std::int32_t TgBot::MessageReactionUpdated::date { }

Date of the change in Unix time.

Definition at line 9916 of file Types.h.

◆ messageId

std::int32_t TgBot::MessageReactionUpdated::messageId { }

Unique identifier of the message inside the chat.

Definition at line 9901 of file Types.h.

◆ newReaction

std::vector<std::shared_ptr<ReactionType> > TgBot::MessageReactionUpdated::newReaction { }

New list of reaction types that have been set by the user.

Definition at line 9926 of file Types.h.

◆ oldReaction

std::vector<std::shared_ptr<ReactionType> > TgBot::MessageReactionUpdated::oldReaction { }

Previous list of reaction types that were set by the user.

Definition at line 9921 of file Types.h.

◆ user

std::shared_ptr<User> TgBot::MessageReactionUpdated::user { }

Optional. The user that changed the reaction, if the user isn't anonymous.

Definition at line 9906 of file Types.h.


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