Layer 231
ButtonTypeRequestPoll
Button that asks the user to create a poll and send it.
constructor
buttonTypeRequestPoll#aacfff84 flags:# quiz:flags.0?Bool = ButtonType;
Parameters
| Name | Type | Description |
|---|---|---|
| Quiz | flags.0?Bool | If set, only quizzes (true) or only regular polls (false) can be created |
Returns
ButtonTypeGogram Example
// Creating ButtonTypeRequestPoll constructor obj := &tg.ButtonTypeRequestPoll{ // Optional fields: // Quiz: true, }