Mark a chat read or unread
mark_chat_readClear or set a WhatsApp chat's unread badge on linked devices without sending read receipts. Control chat read state.
Instructions
Clear (or set, with unread: true) the chat's unread badge on the linked devices. Sends no read receipts; use send_read_receipts for blue ticks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat: a contact as E.164 with + (`+584241112233`) or `lid:<digits>`, or a group id (`...@g.us`). | |
| unread | No | Mark it unread instead. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |