App Logo
web.whatsapp.com

WhatsApp — Get poll results

Read the current results of a WhatsApp poll, by chat name plus the poll message's id. Returns the poll question, whether it accepts more than one answer per person, each option with its vote count, and which options the signed-in account has voted for. Reading a poll changes nothing and notifies nobody. Older polls are found by loading further back through the conversation. Individual voter names are not included — only the counts. Pairs with the poll creating and voting scripts.

Input

id required

The poll message's id, as returned by get_conversation or search_messages.

name required

Exact chat name containing the poll, as returned by get_inbox.

Output

id required
chat required

The chat the poll was read from, echoed from the conversation header.

options required
question required
totalVotes required

Sum of the per-option counts. On a multi-answer poll one person can add several, so this is not necessarily the number of people who voted.

allowMultiple required

True when the poll accepts more than one answer per person.

Start building not clicking