Search group channels by name, URL, or other filters
You can search for specific group channels by using several types of search filters within SBDGroupChannelListQuery
class.
SBDGroupChannelListQuery
A SBDGroupChannelListQuery
instance provides many types of search filters such as ChannelNameContainsFilter
and ChannelUrlsFilter
. You can use these filters to search for specific private group channels.
The sample code below shows the query instance, which returns a list of the current user's group channels that partially match the specified keyword in the ChannelNameContainsFilter
in the channels' name.
The following shows the query instance, which returns a list of the current user's group channels that partially match the specified keyword in the ChannelUrlsFilter
in the channels' URL.
The following table shows all supported filters for SBDGroupChannelListQuery
to search for specific channels you want to retrieve. You can use any filters in a similar fashion with the sample code above.
List of filters
Name | Filters... |
---|---|
CustomTypesFilter | Group channels with one or more specified custom types. You can enable this filter using the |
ChannelNameContainsFilter | Group channels that contain the specified value in their names. You can enable this filter using the |
ChannelUrlsFilter | Group channels with one or more specified channel URLs. You can enable this filter using the |
PublicChannelFilter | Either public or private group channels. Using the |
HiddenChannelFilter | Group channels with the specified state and operating behavior. You can enable this filter using the |
MemberStateFilter | Group channels based on whether the user has accepted an invitation. You can enable this filter using the |
UsersExactFilter | Group channels that contain members with one or more specified users. You can enable this filter using the |
UsersIncludeFilter | Group channels that include one or more members with the specified users. You can enable this filter using the |
NicknameContainsFilter | Group channels with members whose nicknames contain the specified value. You can enable this filter using the |