Chat iOS v4
Chat iOS
Chat
iOS
Version 4
Home
/
Chat
/
iOS
/
Channel
Search open channels by name, URL, or custom type
Copy link
You can search for specific open channels by adding a keyword to an OpenChannelListQueryParams
when creating an OpenChannelListQuery
instance. There are two types of keywords, which are name and URL.
The code sample below shows the query instance with channelNameFilter
, which returns a list of open channels that partially match the specified keyword in the channel names.
The following shows the query instance with channelURLFilter
, which returns a list of open channels that partially match the specified keyword in the channel URLs.
You can also search for open channels with a specific custom type by setting customTypeFilter
as in the code below.