WuKongIM Docs

Set maximum Conversation unread

Operation boundary

  • Caller: Trusted backend only
POST/conversations/setUnread

Monotonically advances read_seq so no more than unread messages remain.

Request Body

application/json

User Conversation key and maximum unread count to retain.

TypeScript Definitions

Use the request body type in TypeScript.

Parameters for setting a Conversation maximum unread count.

Response Body

application/json

application/json

application/json

{  "status": 200}