I am creating a chatbot using the messenger. How do I know that the user clicked on my button
"buttons":[
{
"type":"postback",
"title":"Bookmark Item",
"payload":"DEVELOPER_DEFINED_PAYLOAD"
}
]
To receive am using the following code
if(preg_match('[hello]', strtolower($message))) {
$message_to_reply = 'Welcome';}