blob: 57337f1fd35c20c973bb0df4dbb27f6946380a2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef TGBOT_MESSAGEREACTIONCOUNTUPDATED_H
#define TGBOT_MESSAGEREACTIONCOUNTUPDATED_H
#include "tgbot/types/Chat.h"
#include "tgbot/types/ReactionCount.h"
#include <cstdint>
#include <memory>
#include <vector>
namespace TgBot {
/**
* @brief This object represents reaction changes on a message with anonymous reactions.
*
* @ingroup types
*/
class MessageReactionCountUpdated {
public:
typedef std::shared_ptr<MessageReactionCountUpdated> Ptr;
/**
* @brief The chat containing the message
*/
Chat::Ptr chat;
/**
* @brief Unique message identifier inside the chat
*/
std::int32_t messageId;
/**
* @brief Date of the change in Unix time
*/
std::uint32_t date;
/**
* @brief List of reactions that are present on the message
*/
std::vector<ReactionCount::Ptr> reactions;
};
}
#endif //TGBOT_MESSAGEREACTIONCOUNTUPDATED_H
|