src/Contracts/HandleMessageResponse.php
public function getResponse()
    {
        if (!empty($this->response['error'])) {
            return $this->handleError($this->response['error']);
        }
        return array_get($this->response, 'result', $this->response);
    }
public function getResponse()
    {
        if (!empty($this->response['error'])) {
            return $this->handleError($this->response['error']);
        }
        return array_get($this->response, 'result', $this->response);
    }
public function getResponse ( ) { if ( ! empty ( $ this -> response [ 'error' ] ) ) { return $ this -> handleError ( $ this -> response [ 'error' ] ) ; } return array_get ( $ this -> response , 'result' , $ this -> response ) ; }
Get API response message
@return string
Get API response message