WuKongIM Docs

Channels

Channel metadata, subscribers, and list administration.

Create or update Channel metadata

Upserts all metadata flags and optionally resets subscribers; disband is terminal.

Replace Channel metadata

Passes the zero-valued full record to UpdateInfo when fields are omitted; retained for compatibility.

Terminally disband a Channel

Sets the durable disband flag without deleting Channel identity; request-key validation is weak.

Add or replace durable subscribers

Adds non-blank subscribers; channel_type 0 becomes group type 2 and reset=1 replaces the snapshot.

Remove durable subscribers

Removes non-blank subscribers; unlike subscriber_add, channel_type 0 is not normalized.

Remove all durable subscribers

Clears ordinary subscribers through bounded internal pages; person Channels are rejected.

Replace temporary Channel subscribers

Replaces the derived Type-8 temporary subscriber list; UID elements are not validated by the entry adapter.

Add Channel denylist members

Adds the supplied UID strings to the derived Channel denylist.

Replace Channel denylist members

Removes the old list before adding the supplied values; only channel_id is validated at entry.

Remove Channel denylist members

Removes the supplied UID strings from the derived Channel denylist.

Remove all Channel denylist members

Clears the derived denylist through bounded internal traversal.

Add Channel allowlist members

Adds non-blank UIDs to the derived Channel allowlist.

Replace Channel allowlist members

Removes the old list before adding supplied values; only channel_id is validated at entry.

Remove Channel allowlist members

Removes non-blank UIDs from the derived Channel allowlist.

Remove all Channel allowlist members

Clears the derived allowlist through bounded internal traversal.

List all Channel allowlist members

Returns an unbounded full list; missing or invalid channel_type is silently treated as 0.