public static class TdApi.KeyboardButtonTypeRequestPoll extends TdApi.KeyboardButtonType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
forceQuiz
If true, only polls in quiz mode must be allowed to create.
|
boolean |
forceRegular
If true, only regular polls must be allowed to create.
|
| Constructor and Description |
|---|
KeyboardButtonTypeRequestPoll()
A button that allows the user to create and send a poll when pressed; available only in private chats.
|
KeyboardButtonTypeRequestPoll(boolean forceRegular,
boolean forceQuiz)
A button that allows the user to create and send a poll when pressed; available only in private chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean forceRegular
public boolean forceQuiz
public static final int CONSTRUCTOR
public KeyboardButtonTypeRequestPoll()
public KeyboardButtonTypeRequestPoll(boolean forceRegular,
boolean forceQuiz)
forceRegular - If true, only regular polls must be allowed to create.forceQuiz - If true, only polls in quiz mode must be allowed to create.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object