pimax / fb-messenger-php

Facebook Messenger Bot PHP API
GNU General Public License v2.0
314 stars 147 forks source link

quick replies issue #82

Closed a-fawzy closed 7 years ago

a-fawzy commented 7 years ago

QuickReply class the line:

foreach ($this->quick_replies as $qr) {
            $result['message']['quick_replies'][] = $qr->getData();
}

is breaking all previously created quick replies! we used to send associative array contains the quick replies data and now you expect array of quick reply buttons.

Do you really want everyone to refactor his code when he needs to update?

eoaddai commented 7 years ago

same for me too. I am not able to use the dev-master branch. I had already submitted my bot for review. but because of this, i had to cancel the review.

wittfabian commented 7 years ago

You should develop with one version and not constantly change the version.

wittfabian commented 7 years ago

Fixed

eoaddai commented 7 years ago

Thanks. Working perfectly now.