- Send whatsapp text messages.
Before use, you must configure the following parameters
- In the
.env
file of the project copy and set the following environment variables
MANYCONTACTS_API_HOST=
MANYCONTACTS_API_TOKEN=
- To send a message just call the Facade
EmizorIpx\ManyContacts\Facades\ManyContacts
to methodsendTextMessage
and specify the required parameters
use EmizorIpx\ManyContacts\Facades\ManyContacts;
$response = ManyContacts::sendTextMessage($number_phone, $data);