Skip to main content
Version: v0.23.1

Delete every message in a chat, keeping the chat itself

DELETE 

/api/sessions/:sessionId/chats/:chatId/messages

Delete every message in a chat, keeping the chat itself

Request

Responses

Returns { success }. false means the engine declined to act — an unknown chat, or on the Baileys engine a chat with no known history, since the change is keyed to its last message.