Свойство | Тип | Описание | |
---|---|---|---|
$apiBase | string | The API's URL. | |
$client | The Guzzle HTTP Client. |
Метод | Описание | |
---|---|---|
__construct ( |
Create the CallFire instance. | |
checkMessages ( array $options = [] ) : array | Checks the server for messages and returns their results. | |
getMessage ( string | integer $messageId ) : |
Gets a single message by it's ID. | |
receive ( mixed $raw ) : |
Receives an incoming message via REST call. | |
send ( |
Sends a SMS message. |
Метод | Описание | |
---|---|---|
processReceive ( $rawMessage ) : mixed | Creates many IncomingMessage objects and sets all of the properties. |
public __construct ( |
||
$client | The Guzzle Client |
public checkMessages ( array $options = [] ) : array | ||
$options | array | |
Результат | array |
public getMessage ( string | integer $messageId ) : |
||
$messageId | string | integer | |
Результат |
protected processReceive ( $rawMessage ) : mixed | ||
$rawMessage | ||
Результат | mixed |
public send ( |
||
$message |