This event occurs when the user presses a Postback Button (which can be a part of a Structured Message). You can react to this event by performing an action or by sending a reply.
{
"event": "postback",
"timestamp": "2020-03-01T15:49:02.243Z",
"data": {
"channel": {
"id": "6456078759331238786",
"type": "amio_chat"
},
"contact": {
"id": "6456078781510718339"
},
"postback": {
"payload": "{{DEVELOPER_DEFINED_PAYLOAD}}"
}
}
}
Parameter | Type | Description |
---|---|---|
postback.payload | string | Payload of the Postback Button that has been pressed. |