tgbot-cpp
Loading...
Searching...
No Matches
KeyboardButtonPollType.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_KEYBOARDBUTTONPOLLTYPE_H
2#define TGBOT_CPP_KEYBOARDBUTTONPOLLTYPE_H
3
4#include <string>
5#include <memory>
6
7namespace TgBot {
8
15
16public:
17 typedef std::shared_ptr<KeyboardButtonPollType> Ptr;
18
24 std::string type;
25};
26}
27
28#endif //TGBOT_CPP_KEYBOARDBUTTONPOLLTYPE_H
This object represents type of a poll, which is allowed to be created and sent when the corresponding...
std::string type
Optional. If quiz is passed, the user will be allowed to create only polls in the quiz mode....
std::shared_ptr< KeyboardButtonPollType > Ptr
Definition Api.h:39