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
449 stars 163 forks source link

PHP Fatal error: Uncaught UnexpectedValueException: Value 'user_initiated' #77

Closed aalbarca closed 1 year ago

aalbarca commented 1 year ago

Discussed in https://github.com/netflie/whatsapp-cloud-api/discussions/76

Originally posted by **derrickobedgiu1** January 29, 2023 The new version is having a typo somewhere: PHP Fatal error: Uncaught UnexpectedValueException: Value 'user_initiated' is not part of the enum Netflie\WhatsAppCloudApi\WebHook\Notification\Support\ConversationType Apparently instead of user_initiated, it's having customer_initiated PATH: Netflie\WhatsAppCloudApi\WebHook\Notification\Support\ConversationType