The community member is asking if there is a way to clear the chat window of existing messages when a user clicks a button to restart the conversation. The community members in the comments indicate that there is no way to do this, and that it may go against the nature of a conversation.
Is there a way, with code or any other means, to clear the chat window of existing messages? When a user clicks a button to restart the conversation, I already empty the chat history, but I would also like to clear the chat container.