tgbot-cpp
|
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed. More...
#include <KeyboardButtonPollType.h>
Public Types | |
typedef std::shared_ptr< KeyboardButtonPollType > | Ptr |
Public Attributes | |
std::string | type |
Optional. If quiz is passed, the user will be allowed to create only polls in the quiz mode. If regular is passed, only regular polls will be allowed. Otherwise, the user will be allowed to create a poll of any type. | |
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
Definition at line 14 of file KeyboardButtonPollType.h.
typedef std::shared_ptr<KeyboardButtonPollType> TgBot::KeyboardButtonPollType::Ptr |
Definition at line 17 of file KeyboardButtonPollType.h.
std::string TgBot::KeyboardButtonPollType::type |
Optional. If quiz is passed, the user will be allowed to create only polls in the quiz mode. If regular is passed, only regular polls will be allowed. Otherwise, the user will be allowed to create a poll of any type.
Definition at line 24 of file KeyboardButtonPollType.h.