GroupChannelListQuery on ChannelName and NickName

I’m currently working on a feature where I need to search for channels based on either the Channel Name or Nickname containing a specific query. However, with my current approach, I’m only getting channels where both the Channel Name and Nickname contain the search query.

final listQuery = GroupChannelListQuery()
          ..channelNameContains = searchQuerys
          ..nicknameContains = searchQuerys
          ..queryType = GroupChannelListQueryType.or;

Hello @Saffi_Zahid,

queryType is only used when filtering on userIdsIncludeFilter. (Ref)

You would need to make two separate queries if you want to search for either. By default, filter criteria is AND unless explicitly stated otherwise.