summaryrefslogtreecommitdiff
path: root/include/tgbot/types/PollOption.h
blob: 864aaf5c5738ee0ca6df4bdf4486793c266a44c3 (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
#ifndef TGBOT_POLLOPTION_H
#define TGBOT_POLLOPTION_H

#include <cstdint>
#include <memory>
#include <string>
#include <vector>

namespace TgBot {

class PollOption {

public:
    typedef std::shared_ptr<PollOption> Ptr;

    /**
     * @brief Option text, 1-100 characters.
     */
    std::string text;

    /**
     * @brief Number of users that voted for this option.
     */
    std::int64_t voterCount;
};

}

#endif //TGBOT_POLLOPTION_H