onMessage(listener = (chat) => null) {
    this.emitter.on("message", listener);
    return this;
  }
Triggered when a message is added to the chat history.
This can either be the first message or a reply to a message.

@param listener
@returns