Moderation
To protect members from unsafe content and harmful language, Sendbird provides a variety of moderation methods. These methods include the ability to mute and ban members or participants, freeze channels and assign channel operators.
Mute and unmute
Mute is a feature that allows operators to mute certain members or participants in a channel. Muted members or participants can stay in the channel and are allowed to view the messages, but they can’t send any messages until the operators unmute them. In order to use this feature, a channel must have at least one operator.
Group channel
You can customize UI elements of the mute feature in group channels. These elements are found in the group channel view, channel member list view, muted member list view, and moderations view.
An operator can mute or unmute members in the group channel member list view. A list of the muted members can also be found in the muted member list view. To learn more about how to moderate group channels and view a list of muted members through the moderation menu, refer to the moderate group channels and members page.
Open channel
You can also customize UI elements of the mute feature in open channels. These elements are found in the open channel view, muted participant list view, and moderations view.
An operator can mute participants in the open channel participant list view. A list of the muted participants can also be found in the muted participant list view where you can unmute them. To learn more about how to moderate open channels and view a list of muted participants through the moderation menu, refer to the moderate open channels and participants page.
Customize the UI for mute
The UI for mute and unmute can be customized through string resource and icon resource.
String resource
The string resource is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
Icon resource
In open channels, the muted status doesn't appear in the participant list.
The following table shows a customizable mute icon.
Icon name | Image | Description |
---|---|---|
icon_mute | An icon indicating the muted state. |
Ban and unban
Ban is a feature that allows operators to kick certain members or participants out of the channel and prevent them from entering. Banned users aren't allowed to enter the channel again until the operator unbans them. In order to use this feature, a channel must have at least one operator.
Group channel
You can customize UI elements of the ban feature in group channels. These elements are found in the channel member list view, banned user list view, and moderations view.
An operator can ban members in the channel member list view. The banned users will be removed from the channel member list and moved to the banned user list. If operators wish to unban users, they can do so in the banned user list view.
To learn more about how to moderate group channels and view a list of banned users through the moderation menu, refer to the moderate group channels and members page.
Open channel
You can also customize UI elements of the ban feature in open channels. These elements are found in the channel participant list view, banned user list view, and moderations view.
An operator can ban participants in the channel participant list view. The banned users will be removed from the channel participant list and moved to the banned user list. If operators wish to unban users, they can do so in the banned user list view.
To learn more about how to moderate open channels and view a list of banned users through the moderation menu, refer to the moderate open channels and participants page.
Customize the UI for ban
The UI for ban and unban can be customized through string resource and icon resource.
String resource
The string resource is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
Icon resource
The following table shows a customizable ban icon.
Icon name | Image | Description |
---|---|---|
icon_ban | An icon indicating the banned status. |
Channel operator
Channel operator is a feature that allows you to assign an operator for a channel. The operator is authorized to mute and ban users. They play an important role in moderating members or participants of a channel with abnormal activities.
To learn more about how to moderate group channels and view a list of operators through the moderation menu, refer to the moderate group channels and members page. For open channels, refer to the moderate open channels and participants page.
Group channel
You can customize UI elements of the channel operator feature in group channels. These elements are found in the channel member list view, operator list view, and moderations view.
When a member is assigned to be an operator, the operator label will appear next to the member’s name on the channel member list. They'll also be added to the operator list.
Open channel
You can also customize UI elements of the channel operator feature in open channels. These elements are found in the channel participant list view, operator list view, and moderations view.
When a participant is assigned to be an operator, the operator label will appear next to the participant’s name on the channel participant list. They'll also be added to the operator list.
Customize the UI for channel operator
The UI for channel operator can be customized through the string resource and icon resource.
String resource
The string resource is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
Icon resource
The following table shows a customizable channel operator icon.
Icon name | Image | Description |
---|---|---|
icon_operator | An icon indicating a channel operator. |
Freeze and unfreeze
Freeze is a feature that pauses a channel and only allows operators to talk. When the channel is in a frozen state, only channel operators can send messages while all chat functions are temporarily turned off for the rest of the members or participants who are not operators. You can customize UI elements of the freeze feature. These elements are found in the group channel view, open channel view, channel list view, and group channel moderations view. The option to freeze or unfreeze a channel can be found in the moderations view.
Note: Operators can only freeze group channels in the moderation view. To freeze open channels, you need to turn on the feature through the Sendbird Dashboard.
To learn more about how to moderate channels and change the freeze state, refer to the moderate group channels and members or moderate open channels and participants page.
Customize the UI for freeze
The UI for freeze can be customized through string resource and icon resource.
String resource
The string resource is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
Icon resource
The following table shows a customizable freeze icon.
Icon | Image | Description |
---|---|---|
icon_freeze | An icon indicating a frozen channel. |