To hide a WhatsApp chat thread, you need to either long-press or swipe on your conversation. This archives your conversation.
You can archive a conversation on Facebook Messenger using the website or mobile app, and then see those archived chats later in another inbox.