WuKongIM Docs

Bind command-channel discovery

Operation boundary

  • Caller: Trusted backend only
  • Scope: Persists discovery binding between a user and a command Channel; later /message/sync acknowledgement still depends on the current-process generation record.
  • Atomicity: Choose uid plus source, uids plus source, or subscribers only. At most 1000 raw recipients and a 256 KiB body; subscribers must match SEND order.
  • Success: Retry preserves live start and ack positions. Cross-Slot failure can be partial; retry the complete batch successfully before SEND.

Deprecated

POST/message/cmd/bind

Starts bounded recipient discovery after one committed command tail.

Request Body

application/json

Persistent discovery binding between a user and command Channel.

TypeScript Definitions

Use the request body type in TypeScript.

Command-Channel offline-discovery binding parameters.

Command-Channel offline-discovery binding parameters.

Response Body

application/json

application/json

application/json

{  "status": 200}