A poll answer, and how users voted on it
Constructor schema is available as of layer 91. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
chosen | flags.0?true | Whether we have chosen this answer |
correct | flags.1?true | For quizzes, whether the option we have chosen is correct |
option | bytes | The param that has to be passed to messages.sendVote. |
voters | int | How many users voted for this option |
Vote in a poll
Starting from layer 159, the vote will be sent from the peer specified using messages.saveDefaultSendAs.