To leave a conversation, press and hold it for a few seconds, then select Leave chat. This will remove the chat from your inbox.
Keep in mind this won’t delete the conversation or your messages—it will just stop displaying it in your inbox. If you want to delete messages, you’ll need to do it from within the chat.
To do so, press and hold the message you want to delete and then select Delete.