A poll attached to a wall post.

id
integer (positive)

The identifier of this poll.

owner_id
integer

The identifier of the owner of this poll.

created
integer

The timestamp when this poll was created, as unixtime.

question
string

The text of the question.

votes
integer

The total number of votes.

answers
array of objects

An array of objects describing the poll options.

id
integer (positive)

Identifier of this option.

text
string

The text of the option.

votes
integer (non-negative)

The number of people who voted for this option.

rate
float

The percentage of people who voted for this option.

anonymous
boolean

Whether this poll is anonymous (i.e. no one can see who voted on it and for what).

multiple
boolean

Whether this poll is multiple-choice.

answer_ids
array of integers

If the current user has voted in this poll, the IDs of the options they voted for.

end_date
integer

The timestamp when this poll ends, in unixtime. 0 if the poll does not end.

closed
boolean

Whether this poll has ended.

can_edit
boolean

Whether the current user can edit this poll.

can_vote
boolean

Whether the current user can vote in this poll.

author_id
integer

The identifier of the author of this poll.