Constructors

Methods

Constructors

Methods

  • Insert message after the node with ID previousItemId. If previousItemId is undefined, insert at the head.

    Parameters

    • previousItemId: undefined | string

      The ID of the item after which to insert the new item.

    • message: ChatItem

      The item to insert.

    Returns void