public checkMessages ( array $options = [] ) : array | ||
$options | array | |
return | array |
public function checkMessages(array $options = [])
{
$this->buildCall('/incoming-messages');
$this->buildBody($options);
$rawMessages = $this->getRequest()->json();
return $this->makeMessages($rawMessages['Response']['Entries']);
}