blob: bb1512d79ecab1aadef8e22f09e628e2f033d69a (
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
|
#ifndef TGBOT_REACTIONCOUNT_H
#define TGBOT_REACTIONCOUNT_H
#include "tgbot/types/ReactionType.h"
#include <cstdint>
#include <memory>
namespace TgBot {
/**
* @brief Represents a reaction added to a message along with the number of times it was added.
*
* @ingroup types
*/
class ReactionCount {
public:
typedef std::shared_ptr<ReactionCount> Ptr;
/**
* @brief Type of the reaction
*/
ReactionType::Ptr type;
/**
* @brief Number of times the reaction was added
*/
std::int32_t totalCount;
};
}
#endif //TGBOT_REACTIONCOUNT_H
|