tgbot-cpp
Loading...
Searching...
No Matches
PollOption.h
Go to the documentation of this file.
1
#ifndef TGBOT_POLLOPTION_H
2
#define TGBOT_POLLOPTION_H
3
4
#include <cstdint>
5
#include <memory>
6
#include <string>
7
#include <vector>
8
9
namespace
TgBot
{
10
11
class
PollOption
{
12
13
public
:
14
typedef
std::shared_ptr<PollOption>
Ptr
;
15
19
std::string
text
;
20
24
std::int64_t
voterCount
;
25
};
26
27
}
28
29
#endif
//TGBOT_POLLOPTION_H
TgBot::PollOption
Definition
PollOption.h:11
TgBot::PollOption::voterCount
std::int64_t voterCount
Number of users that voted for this option.
Definition
PollOption.h:24
TgBot::PollOption::text
std::string text
Option text, 1-100 characters.
Definition
PollOption.h:19
TgBot::PollOption::Ptr
std::shared_ptr< PollOption > Ptr
Definition
PollOption.h:14
TgBot
Definition
Api.h:40
include
tgbot
types
PollOption.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0