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 react to message #190

Closed derrickobedgiu1 closed 2 months ago

derrickobedgiu1 commented 5 months ago

@aalbarca

This is an extract from the previously bundled PR.

About the empty string for the emoji, it's stated here: https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages under the Reaction Object table. It states that one can pass empty string to remove a previously sent emoji. I've also tested these and they're working