Limiting user list while forming a group React-UIKit

Is there any way to limit the list of users while creating a group based on user metadata with React-UIKit?

Hello @Fatin_Noor

Welcome to the Sendbird community!

I believe you can use the ApplicationUserListQuery instance provided by the Sendbird Chat SDK to retrieve a list of specific users that match the set values in the metadata parameters. You can then use this list to create a group with only the desired users.

The Sendbird UIKit for React provides a pre-built component called ChannelSettings that allows you to create a group and add users to it. You can customize this component to include the ApplicationUserListQuery instance and filter the list of users based on metadata.

Let me know if this helps in clarifying a few things here.

1 Like

Thanks a lot @Chinmaya_Gupta.

I have come up with an workable solution with your valuable suggestion.