This callback occurs when the user presses Postback Button or Get Started Button. You can use this event to perform certain action or to reply back.
{
"event": "postback",
"timestamp": "2017-03-01T15:49:02.243Z",
"data": {
"channel": {
"id": "6456078759331238786",
"type": "facebook_messenger"
},
"contact": {
"id": "6456078781510718339"
},
"postback": {
"payload": "{{PASS_THROUGH_PARAM}}"
}
}
}
Parameter | Type | Description |
---|---|---|
payload | string | Developer-defined data set in Postback Button or Get Started Button. |