Vote on poll
Casts a vote on an existing poll. Send phone, the poll message_id, and vote (string or array of options) or selected_options (array, takes precedence over vote). For polls with selectable_options_count greater than 1, send all chosen options in one request. In groups, omit poll_sender when this instance sent the poll; set it when voting on another participant’s poll. Optional: me: prefix on message_id or from_me: true.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Identificador publico da instancia no formato gerado pela plataforma: prefixo VZ seguido de caracteres alfanumericos.
"VZ9K2M4N8P1Q3R5S7T0WABCD01EF"
Body
Poll message ID. Use me: prefix for polls sent by the instance.
Exact name of one option or array of options (multiple choice). Ignored when selected_options is sent.
Exact option names (multiple choice). Takes precedence over vote.
Poll author (phone or JID). Required in groups only when another participant created the poll; omit if this instance sent the poll.
Indicates the poll was sent by the instance (alternative to the me: prefix on message_id).

