You can archive or unarchive chats in your WhatsApp instance. Archiving a chat removes it from your main chat list but preserves all messages and history.
Archiving a chat doesn’t delete any messages. You can unarchive it at any time to restore it to your main chat list.
To unarchive a chat, send the same request with archive: false.
When archiving a chat, new messages will still be received, and the chat may be automatically unarchived if a new message arrives (depending on WhatsApp settings).