Download the PHP package rodrigowba/apiwha-php-sdk without Composer
On this page you can find all versions of the php package rodrigowba/apiwha-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package apiwha-php-sdk
APIWHA PHP SDK
A simple PHP SDK for apiwha.com WhatsApp API
Usage
composer require rodrigowba/apiwha-php-sdk
Create Client
or
Send Message
Get Messages
Get Credits
API Reference
APIWHA\SDK\Factory
| Methods | Return Type |
|---|---|
| create(string $apiKey) | APIWHA\SDK\Client |
APIWHA\SDK\Client
| Methods | Return Type |
|---|---|
| __construct(string $apiKey, \GuzzleHttp\Client $guzzle) | |
| send(MessageInterface $message) | array |
| getCredit() | array |
| getMessages( string $type = null, string $number = null, string $customData = null, bool $markaspulled = false, bool $getnotpulledonly = false ) |
array |
| getInboundMessages( string $customData = null, bool $markaspulled = false, bool $getnotpulledonly = false ) |
array |
| getOutboundMessages( string $customData = null, bool $markaspulled = false, bool $getnotpulledonly = false ) |
array |
| getNumberMessages( string $number, string $type = null, string $customData = null, bool $markaspulled = false, bool $getnotpulledonly = false ) |
array |
| getCustomDataMessages( string $customData, string $type = null, bool $markaspulled = false, bool $getnotpulledonly = false ) |
array |
APIWHA\SDK\Message\MessageInterface
| Constants | Value |
|---|---|
TYPE_IN |
IN |
TYPE_OUT |
OUT |
| Methods | Return Type |
|---|---|
| getNumber() | string |
| getText() | string |
| getCustomData() | string |
| hasCustomData() | bool |
Message Types
- APIWHA\SDK\Message\Message
- APIWHA\SDK\Message\Image
- APIWHA\SDK\Message\Audio
- APIWHA\SDK\Message\PDF
All versions of apiwha-php-sdk with dependencies
PHP Build Version
Package Version
The package rodrigowba/apiwha-php-sdk contains the following files
Loading the files please wait ...