tgbot-cpp
Loading...
Searching...
No Matches
TgBot::KeyboardButtonPollType Class Reference

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< KeyboardButtonPollTypePtr
 

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ Ptr

Definition at line 17 of file KeyboardButtonPollType.h.

Member Data Documentation

◆ type

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.


The documentation for this class was generated from the following file: