telegram.PollOption¶
- class telegram.PollOption(*args, **kwargs)[source]¶
Bases:
telegram.TelegramObject
This object contains information about one answer option in a poll.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
text
andvoter_count
are equal.- Parameters
voter_count (
int
) – Number of users that voted for this option.