PollAnswer#
- class pyrogram.types.PollAnswer#
This object represents an answer of a user in a non-anonymous poll.
- Parameters:
poll_id (
str) – Unique poll identifier.voter_chat (
Chat, optional) – The chat that changed the answer to the poll, if the voter is anonymous.user (
User, optional) – The user that changed the answer to the poll, if the voter isn’t anonymous.option_ids (List of
int) – 0-based identifiers of chosen answer options. May be empty if the vote was retracted.