newMessage(message) {
    const chat = {
      ...message,
      state: "success",
    };

    this._chats.push(chat);
    this.emitter.emit("message", chat, this);
  }
Register a new successful message in the chat history.
This will trigger the `onMessage` event.

@param message