netflie / whatsapp-cloud-api

The first PHP API to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform
https://netflie.es/portfolio/whatsapp-business-cloud-api-php-sdk/
MIT License
464 stars 170 forks source link

Add Button Reply #128

Closed derrickobedgiu1 closed 10 months ago

derrickobedgiu1 commented 1 year ago

If you may have a look at this PR. I don't have tests but I've tried to maintain the flow and logic and close as the Option List, so I guess we could have the tests later on since users are very much in need of this feature.

Drawback: The Reply Button header supports document, video, text and image, but this PR contains consideration for optional 'text' header only. There's need for the other types to be implemented as well

aalbarca commented 1 year ago

Sorry, PR without Unit and Integration tests will not be approved.

Thanks for understanding.

doganoo commented 1 year ago

@derrickobedgiu1 any plans to add the tests?

aalbarca commented 10 months ago

merged in https://github.com/netflie/whatsapp-cloud-api/pull/150