I am looking at UIKit samples and need to be able to filter group channels by custom type (actually would prefer to filter by meta data key and value, but looks like that only supports filter by key and not filter by both key and value). Also I have a user filter case as well.
This is a specific example in iOS that I am attempting, but I also need to be able to do the same in Android and also on the web site.
1. Filter Group Channels by Custom Type:
In iOS, I want to present a SBUChannelListViewController and update the channelListQuery SBDGroupChannelListQuery to provide the filtered list when the view controller appears. However, it seems that that functionality is not exposed. Meaning I don’t see how I can modify the query by either making a series of method calls or deriving a new class based on SBUChannelListViewController to override functionality.
This is to support the scenario where our users belong to one or more communities and the user will have a specific community selected in our app. So when a user is pulling up the chat for the current community, I need to make sure group channels returned for the user are also group channels in a specific community (custom type).
2. Filter Users
When a user wants to create a new conversation, I want to be able to provide a list of users with multiple sections. The example of sections I am using are: 1) Admins, 2) Friends, 3) Others. Is this possible in UIKit to be able to provide a custom sectioned contact list? Also I would also be applying the currently selected community that the connected chat user is in when gathering the possible chat contacts to create a conversation with.