Skip to content

PollAnswer

This object represents an answer of a user in a non-anonymous poll.

4 fields, 2 required.

Fields

poll_id string Required
Unique poll identifier.

option_ids number[] Required
0-based identifiers of chosen answer options. May be empty if the vote was retracted.

voter_chat Chat
The chat that changed the answer to the poll, if the voter is anonymous.

user User
The user that changed the answer to the poll, if the voter isn’t anonymous.