public function getMessages()
    {
        return [
            new IncomingMessage($this->event->get('message')['message'], $this->event->get('message')['from']['id'],
                $this->event->get('room')['id'], $this->event),
        ];
    }
public function getMessages()
    {
        return [
            new IncomingMessage($this->event->get('message')['message'], $this->event->get('message')['from']['id'],
                $this->event->get('room')['id'], $this->event),
        ];
    }
public function getMessages ( ) { return [ new IncomingMessage ( $ this -> event -> get ( 'message' ) [ 'message' ] , $ this -> event -> get ( 'message' ) [ 'from' ] [ 'id' ] , $ this -> event -> get ( 'room' ) [ 'id' ] , $ this -> event ) , ] ; }
Retrieve the chat message.

@return array
Retrieve the chat message .