PollAnswer#

class aiogram.types.poll_answer.PollAnswer(*, poll_id: str, user: User, option_ids: List[int], **extra_data: Any)[source]#

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

Source: https://core.telegram.org/bots/api#pollanswer

poll_id: str#

Unique poll identifier

user: User#

The user, who changed the answer to the poll

option_ids: List[int]#

0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.