hostlink/wbiztool-php

php library for wbiztool

1.0.0 2021-04-26 04:25 UTC

This package is auto-updated.

Last update: 2024-05-14 14:44:51 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"));