SimpleSoftwareIO\SMS\Drivers\ZenviaSMS::getMessage PHP Method

getMessage() public method

Gets a single message by it's ID.
public getMessage ( integer | string $messageId ) : IncomingMessage
$messageId integer | string
return SimpleSoftwareIO\SMS\IncomingMessage
    public function getMessage($messageId)
    {
        $this->buildCall('/get-sms-status/' . $messageId);
        return $this->makeMessage(json_decode($this->getRequest()->getBody()->getContents()));
    }