public function getDialogId()
    {
        $segment = $this->findSegment('HNHBK');

        if (null === $segment) {
            throw new \Exception('Could not find element HNHBK. Invalid response?');
        }

        return $this->getSegmentIndex(4, $segment);
    }
public function getDialogId()
    {
        $segment = $this->findSegment('HNHBK');

        if (null === $segment) {
            throw new \Exception('Could not find element HNHBK. Invalid response?');
        }

        return $this->getSegmentIndex(4, $segment);
    }
public function getDialogId ( ) { $ segment = $ this -> findSegment ( 'HNHBK' ) ; if ( null === $ segment ) { throw new \ Exception ( 'Could not find element HNHBK. Invalid response?' ) ; } return $ this -> getSegmentIndex ( 4 , $ segment ) ; }
Extracts dialog ID from response.

@return string|null
@throws \Exception
Extracts dialog ID from response .