How to delete chat history?

I’'ve since changed my preferences, but I have a bunch of chat history I am trying to delete. How do I go about doing this? Thanks in advance.

When you disable the chat history within preferences, it will prompt you to delete all your previous messages.