Users can chat with one another by participating in open channels or joining group channels in a Sendbird application. The operator role can be assigned to certain users to moderate other users. Users are identified by their own unique ID, and may have a customized nickname and profile image. You can manage various user attributes and actions using the Chat API.
Depending on the type of channel your users are chatting in, they are given different labels as well as access to different actions and information. Users can register other users as friends, interact with them in a private chat, or block specific users from sending direct messages. In some cases, users can be given an operator role and they can moderate other users who engage in inappropriate activities.
Type | Definition |
---|---|
User | Scope: Application |
Participant | Scope: Open channels |
Member | Scope: Group channels |
You can assign operators in each channel to moderate participants or members engaging in inappropriate activities by banning or muting them in the channel.
When banned, participants or members are immediately kicked out of the channel. After the ban time set by the operators has expired, they can participate back in or rejoin the channel. On the other hand, muted participants or members are allowed to remain in the channel and view the messages, but can't send messages until the operators unmute them.
Additionally, operators can also delete or update any messages sent in a channel.
With the Chat SDK, you can retrieve users in a channel, moderate user activity, and manage user information. The following is a list of functionalities that our SDK supports.
Functionality | Description | Open channel | Group channel |
---|---|---|---|
Retrieves a list of all or a specified subset of users in a Sendbird application. | |||
Retrieves a list of users in a channel. | |||
Retrieves a list of users and operators in a channel in an alphabetical order or by another specified order. | |||
Retrieves users who have read a specific message in a channel. | |||
Retrieves a list of operators who monitor and control the activities in a channel. |
Functionality | Description | Open channel | Group channel |
---|---|---|---|
Retrieves a list of all or a specified subset of blocked users in a Sendbird application. | |||
Retrieves a list of users who are banned from a channel. | |||
Retrieves a list of users who are muted in a channel. | |||
Blocks or unblocks specified users for a user in a channel. | |||
Operators can ban or unban users from a channel. Banned users are immediately expelled from a channel and allowed to participate in the channel again after the time period set by the operators has passed. | |||
Operators can mute or unmute users in a channel. Muted users remain in the channel and are allowed to view the messages, but can't send any messages until the operators unmute them. |
Functionality | Description | Open channel | Group channel |
---|---|---|---|
Checks if a certain user in a Sendbird application is currently connected to the Sendbird server. | |||
Updates a user's nickname and profile image with a URL. | |||
Retrieves the latest and updated information on each user who is online. |
Functionality | Description | Open channel | Group channel |
---|---|---|---|
Stores additional information to users. You can create, retrieve, update and delete additional information. |