hostlink/wbiztool-php

php library for wbiztool

1.0.0 2021-04-26 04:25 UTC

This package is auto-updated.

Last update: 2024-10-14 15:34:43 UTC


README

Send message

require_once("vendor/autoload.php");

$tool = new WBizTool($api_key, $client_id, $whatsapp_client);
$resp=$tool->sendText($country_code,$phone,$msg);

Get history

require_once("vendor/autoload.php");

$tool = new WBizTool($api_key, $client_id, $whatsapp_client);
$resp=$tool->getHistory(CarbonPeriod::between("2021-04-26", "2021-05-26"));