Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
processReceive ( string $rawMessage ) : mixed | Creates many IncomingMessage objects and sets all of the properties. |
public checkMessages ( array $options = [] ) : array | ||
$options | array | |
return | array |
public getMessage ( string | integer $messageId ) | ||
$messageId | string | integer |
protected processReceive ( string $rawMessage ) : mixed | ||
$rawMessage | string | |
return | mixed |