pimax/fb-messenger-php

Quick Reply breaking call

Closed this issue · 4 comments

When I add quick replies to a message without a payload or image_url, the call does not go through. To fix this I had to create a QuickReplyButton like this:
new QuickReplyButton('text', 'Sample Test Here', '', '')
This has two extra blank strings to override the default nulls in the function call. If you make the defaults as empty strings from the constructor itself, this should fix the issue.

Solved?

@wittfabian Sorry, I didn't get a notification that there was a response. But Thank you!