Moderation
To protect members from unsafe content and harmful language, Sendbird provides a variety of moderation methods. These methods include the ability to mute members, ban members, freeze channels and assign channel operators.
Mute
Mute is a feature that allows operators to mute certain members in a channel. Muted members 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. Sendbird UIKit for Android provides you with customizable UI elements of the mute feature. These elements are found in the channel view, channel member list view, muted member list view and moderations view.
An operator can mute or unmute members in the 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 channels and view a list of muted members through the moderation menu, refer to the Moderate channels and members through an operator page.
Customize the UI for mute
The UI for mute and unmute can be customized through StringSet
and IconSet
.
StringSet
The StringSet
is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
IconSet
The following table shows a customizable mute icon.
Icon name | Image | Description |
---|---|---|
icon_mute | An icon indicating the muted state. |
Ban
Ban is a feature that allows operators to kick certain members out of the channel and prevent them from entering. Banned members expelled from a channel 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. Sendbird UIKit for Android provides you with customizable UI elements of the ban feature. These elements are found in the channel member list view, banned member list view and moderations view.
An operator can ban members in the channel member list view. The banned members will be removed from the channel member list and moved to the banned member list. If operators wish to unban members, they can do so in the banned member list view.
To learn more about how to moderate channels and view a list of banned members through the moderation menu, refer to the Moderate channels and members through an operator page.
Customize the UI for ban
The UI for ban and unban can be customized through StringSet
and IconSet
.
StringSet
The StringSet
is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
IconSet
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 ban and mute members as well as freeze channels. They play an important role in moderating members of a group channel with abnormal activities. Sendbird UIKit for Android provides you with customizable UI elements of the channel operator feature. 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.
To learn more about how to moderate channels and view a list of operators through the moderation menu, refer to the Moderate channels and members through an operator page.
Customize the UI for channel operator
The UI for channel operator can be customized through StringSet
and IconSet
.
StringSet
The StringSet
is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
IconSet
The following table shows a customizable channel operator icon.
Icon name | Image | Description |
---|---|---|
icon_operator | An icon indicating a channel operator. |
Freeze
Freeze is a feature that pauses a channel and only allows operators to talk in the channel. 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 who are not operators. Sendbird UIKit for Android provides you with customizable UI elements of the freeze feature. These elements are found in the channel view, channel list view, and moderations view. The option to freeze or unfreeze a channel can be found in the moderations view.
To learn more about how to moderate channels and change the freeze state through the moderation menu, refer to the Moderate channels and members through an operator page.
Customize the UI for freeze
The UI for freeze can be customized through StringSet
and IconSet
.
StringSet
The StringSet
is a set of strings used to compose the screen. It’s a res/string.xml
file containing UIKit-defined string values.
IconSet
The following table shows a customizable freeze icon.
Icon | Image | Description |
---|---|---|
icon_freeze | An icon indicating a frozen channel. |