Skip to main content
Version: v0.31.0

Archive or unarchive a chat

POST 

/api/sessions/:sessionId/chats/archive

Archive or unarchive a chat

Request​

Responses​

Returns { success }. false means the engine declined to act. The Baileys engine keys the change to the chat's newest message in memory, else the newest stored one, else sends it without one, which WhatsApp applies as well, for a chat the session knows; an id it knows no chat for answers false.