PollOption

class aiogram.types.poll_option.PollOption(*, persistent_id: str, text: str, voter_count: int, text_entities: list[MessageEntity] | None = None, added_by_user: User | None = None, added_by_chat: Chat | None = None, addition_date: _datetime_serializer, return_type=int, when_used=unless - none)] | None = None, **extra_data: Any)[source]

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

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

persistent_id: str

Unique identifier of the option, persistent on option addition and deletion

text: str

Option text, 1-100 characters

voter_count: int

Number of users who voted for this option; may be 0 if unknown

text_entities: list[MessageEntity] | None

Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts

added_by_user: User | None

Optional. User who added the option; omitted if the option wasn’t added by a user after poll creation

added_by_chat: Chat | None

Optional. Chat that added the option; omitted if the option wasn’t added by a chat after poll creation

addition_date: DateTime | None

Optional. Point in time (Unix timestamp) when the option was added; omitted if the option existed in the original poll