Messaging: Set chat state
messaging_set_chat_stateUpdate supported chat state such as read/unread, archive/pin, label or mute metadata. Only send fields explicitly requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| label | No | ||
| chat_id | Yes | Exact chat/conversation ID from the appropriate chat/inbox listing or resolver. Never pass a person name or user ID. Chat ID: Exact provider chat/conversation ID. LinkedIn chat IDs may also be visible in /messaging/thread/{chat_id}/ URLs. Obtain with: provider list conversations/inbox chats -> chat.id Never pass: person name, user_id, message_id. | |
| account_id | No | Optional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here. | |
| pin_status | No | ||
| muted_until | No | ||
| read_status | No | True marks the chat read; false marks it unread. | |
| archive_status | No |