Search code examples
sendbird

SendBird : Is there an option to disable channel creation for users


I am trying to see if there is a way to configure an application in sendbird ( not the client app but the app configuration at sendbird ) to not allow users to create channels.

We are wanting to manage the users for a channel based on our own system's needs ( mostly around dynamic groups of users and it looks like sendbird does not support such a thing and only has user to channel relations )

By disabling channel creation for users we can write extra logic into our chat client to communicate with our own APIs for adding dynamic groups of users and we then send the requests from out platform to sendbird to add or remove users who belong to those groups for the desired channels or if the groups change on our side when people add and remove users then we can maintain a sync for sendbirds channels to ensure the correct users persist in the channels.

If my understanding is wrong and Sendbird does support dynamic groups then please advise and I will prefer this option else if someone knows how to configure an app for sendbird ( not the client app code but in the configuration of the app at sendbird ) to not allow channel creation by users.

Thanks.


Solution

  • In the SendBird SDK - Authenticated users have access to their own channels only. Furthermore, it is also possible to specifically restrict the create channel method at the individual user level. If you contact SendBird support ([email protected]) they are able to help with this requirement.

    Regarding dynamic groups. SendBird has group channels which can have their member lists controlled by SendBird's platform API. This seems to fit with your requirements. New users can be programmatically invited to, or removed from a group channel.