PollOption#

class aiogram.types.poll_option.PollOption(*, text: str, voter_count: int, **extra_data: Any)[source]#

This object contains information about one answer option in a poll.

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

text: str#

Option text, 1-100 characters

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(_ModelMetaclass__context: Any) None#

We need to both initialize private attributes and call the user-defined model_post_init method.

voter_count: int#

Number of users that voted for this option