This webhook is triggered when there is an update to a poll, such as when a user casts a vote.
Webhook: Poll Results
Triggered when a user votes in a poll that was created using the Send Poll Message API endpoint. This webhook provides updates on the poll's results as votes are cast.
Code Examples
{
"event": "poll.results",
"sessionId": "YOUR_SESSION_API_KEY",
"data": {
"key": {
"remoteJid": "[email protected]",
"fromMe": true,
"id": "FZNABLUGNI0F3QIJSWPW7H"
},
"pollResult": [
{
"name": "Pizza",
"voters": [
"[email protected]"
]
},
{
"name": "Humberger",
"voters": []
}
]
},
"timestamp": 1753278982097
}