Skip to main content
Use channel bans when a member should lose access to a specific chat channel until a moderator restores access. The SDK operation is per-channel; ban reasons, appeal flows, and moderation audit logs are app-owned product logic.

Platform Surface

Parameters

Ban Members

Ban removes the users from channel participation and prevents them from rejoining until they are unbanned.

Unban Members

Unban restores the users to the channel’s allowed membership state. If your app shows a ban list, refresh that list after the operation succeeds.

Implementation Notes

Permission Checks

The SDK call can fail when the current user cannot moderate the channel or the target user cannot be moderated. Handle permission and validation errors in your UI.

Channel Scope

A channel ban applies to the target channel. It is not a global user block and does not replace user-level block or content flag workflows.

Product Policy

Store ban reasons, moderator notes, appeal state, or compliance records in your own system if your product requires them.

Member Lists

Query channel members with banned-membership filters when you need to render a ban list or confirm current ban state.

Query Members

Filter channel members by membership state.

Mute Management

Temporarily restrict message sending.

Member Management

Add or remove channel members.