tgbot-cpp
Loading...
Searching...
No Matches
ReactionCount.h
Go to the documentation of this file.
1
#ifndef TGBOT_REACTIONCOUNT_H
2
#define TGBOT_REACTIONCOUNT_H
3
4
#include "
tgbot/types/ReactionType.h
"
5
6
#include <cstdint>
7
#include <memory>
8
9
namespace
TgBot
{
10
16
class
ReactionCount
{
17
18
public
:
19
typedef
std::shared_ptr<ReactionCount>
Ptr
;
20
24
ReactionType::Ptr
type
;
25
29
std::int32_t
totalCount
;
30
};
31
}
32
33
#endif
//TGBOT_REACTIONCOUNT_H
ReactionType.h
TgBot::ReactionCount
Represents a reaction added to a message along with the number of times it was added.
Definition
ReactionCount.h:16
TgBot::ReactionCount::type
ReactionType::Ptr type
Type of the reaction.
Definition
ReactionCount.h:24
TgBot::ReactionCount::Ptr
std::shared_ptr< ReactionCount > Ptr
Definition
ReactionCount.h:19
TgBot::ReactionCount::totalCount
std::int32_t totalCount
Number of times the reaction was added.
Definition
ReactionCount.h:29
TgBot::ReactionType::Ptr
std::shared_ptr< ReactionType > Ptr
Definition
ReactionType.h:21
TgBot
Definition
Api.h:40
include
tgbot
types
ReactionCount.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0