This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Send a message using Kenyt.AI Instant Message API. | |
* | |
* @param string $authToken CRM Auth Token (from Kenyt Dashboard) | |
* @param string $organizationId Organization ID | |
* @param string $templateName Name of the template | |
* @param string $name (Optional) Name of the recipient | |
* @param string $email Email of the recipient (Required if it is a email template) | |
* @param string $phone Phone number of the recipient (Required if it is a Whatsapp template) |