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
484 stars 177 forks source link

Conversational Components - Welcome Messages / Ice Breakers / Commands #205

Open aindot opened 3 months ago

aindot commented 3 months ago

When a user start's a chat with the business, a webhook is called to the server to request a welcome message. Welcome message can be enabled / disabled.

Ice Breakers are a predefined prompts that a user can choose from, they are set by API request to Meta. Max of 4 prompts, max of 80 characters. Emojis are not supported.

Commands are a predefined options that starts with forward slash '/' which include a name and a description, they are set by API request to Meta. Max of 30 commands, max of 32 characters. For description max of 256 characters. Emojis are not supported.

Reference: docs/Whatsapp/cloud-api

aalbarca commented 3 months ago

Hi @aindot could you open a PR with changes? Thanks!