SendButtonMessage
Query parameters
idstringRequiredExample:
idBody
all ofOptional
and
anyOptionalExample:
{"jid":"receivernumber","imageUrl":"","contentText":"body text","footerText":"footer text","buttons":[{"buttonId":"btn1","buttonText":{"displayText":"Yes"},"type":1},{"buttonId":"btn2","buttonText":{"displayText":"No"},"type":1}]}Responses
200Success
No content
post
/chats/sendButtonMessagePOST /chats/sendButtonMessage?id=id HTTP/1.1
Host: base_url
Content-Type: application/json
Accept: */*
Content-Length: 230
{
"jid": "receivernumber",
"imageUrl": "",
"contentText": "body text",
"footerText": "footer text",
"buttons": [
{
"buttonId": "btn1",
"buttonText": {
"displayText": "Yes"
},
"type": 1
},
{
"buttonId": "btn2",
"buttonText": {
"displayText": "No"
},
"type": 1
}
]
}200Success
No content
Last updated
Was this helpful?