StructuredMessage not sending response
Closed this issue · 2 comments
bryan-rojas-liquor commented
Hi, I'm looping my data into an array_list then I set the StructuredMessage but it doesn't send the response to my FB Messenger Bot.
I logged the array_list (each one is a MessageElement) and this is the output for each element result:
[18] => pimax\Messages\MessageElement Object
(
[title:protected] => Dutch Negroni
[image_url:protected] => http://mydomain.com/dutch-negroni1.jpg
[subtitle:protected] =>
[buttons:protected] => Array
(
[0] => pimax\Messages\MessageButton Object
(
[type:protected] => web_url
[title:protected] => Readmore
[url:protected] => http://mydomain.com/dutch-negroni-2/
)
)
)
I'd like you feedback to solve this or how can it debug this?
Thanks
wittfabian commented
Do you mean the response from Facebook?
{
"recipient_id": "1008372609250235",
"message_id": "mid.1456970487936:c34767dfe57ee6e339"
}
wittfabian commented
No Answer. Closed!