Insert message after the node with ID previousItemId. If previousItemId is undefined, insert at the head.
message
previousItemId
The ID of the item after which to insert the new item.
The item to insert.
Insert
message
after the node with IDpreviousItemId
. IfpreviousItemId
is undefined, insert at the head.