Message Controller
Send Poll
Changed onSend Poll
post/message/sendPoll/{instance}
Request
- Base URLhttps://evolution-example
- URLhttps://evolution-example/message/sendPoll/{instance}
- AuthAPI key in header apikey
Path parameters
instancestring required
Name of the instance
Request body
Response
Created
Example response
{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE53EC8D8E1FD8A"
},
"message": {
"messageContextInfo": {
"messageSecret": "lX/+cLHHNfnTTKZi+88mrhoyi6KNuUzWjgfaB0bTfOY="
},
"pollCreationMessage": {
"name": "Poll Name",
"options": [
{
"optionName": "Option 1"
},
{
"optionName": "Option 2"
},
{
"optionName": "Option 3"
}
],
"selectableOptionsCount": 1
}
},
"messageTimestamp": "1717781848",
"status": "PENDING"
}Changes
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- warning
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- warning
removed the request property
/ - warning
removed the request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/
- breaking