get_poll_votes()¶
- async Client.get_poll_votes()¶
Get votes in a poll.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.message_id (
int) – The message ID of the poll.option (
bytes, optional) – The poll option data to filter votes by.offset (
str, optional) – Pagination offset.limit (
int, optional) – Maximum number of results. Defaults to 50.
- Returns:
VotesList– The list of votes.
Example
votes = await app.get_poll_votes(chat_id, message_id)