WuKongIM Docs

Clear Conversation unread

Operation boundary

  • Caller: Trusted backend only
  • Scope: Requests for missing or removed Memberships or deleted Channels leave state unchanged.
  • Success: Clears unread and refreshes activated_at even when the read position stays the same.
  • Recovery: If activation fails after the read position commits, retry the same request to finish activation.
POST/conversations/clearUnread

Advances read_seq to the committed Channel head and refreshes activation. The contract omits legacy message_seq; the runtime ignores it.

Request Body

application/json

User Conversation key to clear, hide, or activate.

TypeScript Definitions

Use the request body type in TypeScript.

Shared key for Conversation clear-unread, hide, or activate operations.

Response Body

application/json

application/json

application/json

{  "status": 200}