Skip to main content
Use channel roles when selected members need elevated channel permissions, such as moderator behavior. Role names are app-defined or configured for your Social+ project; the SDK applies or removes the role for the listed channel members.

Platform Surface

Parameters

Add A Role

Add a role when channel members should receive the permissions represented by that role.

Remove A Role

Remove a role when members should no longer have the permissions represented by that role.

Implementation Notes

Role IDs

Pass the role ID string exactly as configured for your project. The SDK does not create new role definitions from this call.

Existing Members

Assign roles to users who are channel members. Query the member list first when your UI needs to confirm eligibility.

Permissions

Role operations require moderation permission and can fail if the current user cannot manage the target role.

Channel Fit

Role moderation is meaningful on channel types that support member roles. Unsupported channel types can reject the request.

Member Management

Add users before assigning channel roles.

Query Members

Filter members by role and membership state.

Ban Management

Restrict access for users who should not participate.