tgbot-cpp
Loading...
Searching...
No Matches
MessageReactionCountUpdated.h
Go to the documentation of this file.
1#ifndef TGBOT_MESSAGEREACTIONCOUNTUPDATED_H
2#define TGBOT_MESSAGEREACTIONCOUNTUPDATED_H
3
4#include "tgbot/types/Chat.h"
6
7#include <cstdint>
8#include <memory>
9#include <vector>
10
11namespace TgBot {
12
19
20public:
21 typedef std::shared_ptr<MessageReactionCountUpdated> Ptr;
22
27
31 std::int32_t messageId;
32
36 std::uint32_t date;
37
41 std::vector<ReactionCount::Ptr> reactions;
42};
43}
44
45#endif //TGBOT_MESSAGEREACTIONCOUNTUPDATED_H
std::shared_ptr< Chat > Ptr
Definition Chat.h:31
This object represents reaction changes on a message with anonymous reactions.
std::int32_t messageId
Unique message identifier inside the chat.
std::uint32_t date
Date of the change in Unix time.
Chat::Ptr chat
The chat containing the message.
std::vector< ReactionCount::Ptr > reactions
List of reactions that are present on the message.
std::shared_ptr< MessageReactionCountUpdated > Ptr
Definition Api.h:40