Skip to main content
Version: v0.31.0

Mark a chat as read/seen

POST 

/api/sessions/:sessionId/chats/read

Mark a chat as read/seen

Request​

Responses​

Returns { success }. false means the engine declined to act: the Baileys engine sends the read receipt against the newest message the chat received that it holds in memory, else the newest received one the gateway stored, so a chat with neither (one holding only the account's own sends included) is reported as declined rather than marked read. The whatsapp-web.js engine reads the chat from the page and needs no local history.