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

Retrieve existing WhatsApp Templates & enums #189

Open likeabas opened 5 months ago

likeabas commented 5 months ago

This change allows to request all available templates. The WHATSAPP_CLOUD_API_BUSINESS_ID should be set to make it work.

It touches upon https://github.com/netflie/whatsapp-cloud-api/discussions/182

likeabas commented 1 month ago

@aalbarca I've added a method to request whatsapp templates. Furthermore, I've used enums and updated the requirements to PHP => 8.1 (as PHP 7 is no longer supported), so it should probably mean a version bump. Furthermore, I've updated the docs a bit.

likeabas commented 1 month ago

@aalbarca do you know how I can update the PHP version of the CI?