Open Channels
To kick a user out from an Open Channel, you can ban a user. Banning a user will prevent the user from joining the channel.
You can ban a user from the Dashboard by navigating to the Open Channels tab. In the right-side menu where online users are listed, click on the three dots beside the target user and select BAN . You can also do it via SDK if the user has an operator role. You can specify the duration of the ban, and even add a description of why the user had been banned.
iOS
Android
JavaScript
Platform API
After banning the user, you can receive a UserBanned event from your app’s Channel Handler/Delegate to handle changes in UI.
Group Channels
Kicking a user out of a channel possible in Group Channels just like Open Channel.
You can ban a user from the Dashboard by navigating to the Group Channels tab. In the right-side menu where online users are listed, click on the three dots beside the target user and select BAN . You can also do it via SDK if the user has an operator role. You can specify the duration of the ban, and even add a description of why the user had been banned.
iOS
Android
JavaScript
Platform API
In Group Channels, a user can block another user through the Platform API or SDK. Users will not receive a message from anyone that they have blocked.