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
9namespace TgBot {
10
12
13public:
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
std::int64_t voterCount
Number of users that voted for this option.
Definition PollOption.h:24
std::string text
Option text, 1-100 characters.
Definition PollOption.h:19
std::shared_ptr< PollOption > Ptr
Definition PollOption.h:14
Definition Api.h:39