Constructor type of
64-bit) – ID of the poll.
str) – The question of the poll.
answers (List of
PollAnswer) – The possible answers, vote using messages.sendVote.
bool, optional) – Whether the poll is closed and doesn’t accept any more answers.
bool, optional) – Whether cast votes are publicly visible to all users (non-anonymous poll).
bool, optional) – Whether multiple options can be chosen as answer.
bool, optional) – Whether this is a quiz (with wrong and correct answers, results shown in the return type).
32-bit, optional) – Amount of time in seconds the poll will be active after creation, 5-600. Can’t be used together with close_date.
32-bit, optional) – Point in time (Unix timestamp) when the poll will be automatically closed. Must be at least 5 and no more than 600 seconds in the future; can’t be used together with close_period.