Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Chat → Set Read State

AI-generated

Summary

Set a chat's read state by sending the selected value to the wa-instance API for the specified chat JID.

Inputs

  • Chat JID (required) — JID of the chat whose read state to change.
  • Read (required) — Boolean read state; defaults to true. Set false to mark the chat unread.

Output shape

A single API response object per input item.

The operation makes a POST request to the chat's read-state endpoint. With Continue On Fail enabled, an error is returned in that item's JSON instead of failing the node.

Links

Discussion