get_poll_results()

async Client.get_poll_results()

Get the current results of a poll.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Chat where the poll message is

  • msg_id (int) – Message identifier (from the poll message)

Returns:

Poll – On success, the poll with its updated results is returned.

Example

await app.get_poll_results(chat_id, message_id)