Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Chat → Mark Read
AI-generatedSummary
Mark a WhatsApp chat as read for the selected session. With Baileys, optionally acknowledge specific message IDs; without them, only the newest message still held in memory receives a read receipt.
Inputs
- Session Name or ID (required) — Select the session that owns the chat, or provide its ID using an expression.
- Chat Name or ID (required) — Select the chat or provide its ID (for example, 628123456789@c.us or a group ID ending in @g.us). The picker lists up to 1,000 chats.
- Message IDs — Optional comma-separated IDs, a JSON array, or an expression resolving to an array, with a maximum of 100 IDs. Baileys acknowledges these messages individually; if omitted, it acknowledges only the newest message still in memory. The option is ignored by whatsapp-web.js, which marks the chat read at chat level.
Output shape
A single item containing the API response.
The operation sends the selected chat and, when provided, message IDs to the session's chat-read endpoint. A restarted Baileys session has no in-memory message to acknowledge when no IDs are supplied.