Skip to main content
Version: v0.31.0

Mark a chat as unread

POST 

/api/sessions/:sessionId/chats/unread

Mark a chat as unread

Request​

Responses​

Returns { success }. false means the engine declined to act. The Baileys engine keys the mark to the chat's newest message in memory, else the newest stored one, else sends it without one for a chat the session knows; an id it knows no chat for answers false, and so does an archived chat with no known message, which the phone leaves unmarked without one.