Filter group channels by user IDs
To filter group channels by user IDs, use
userIdsIncludeFilter. Let's assume the ID of the current user is Harry and the user is a member of three group channels.
- Channel A: Harry and Jay.
- Channel B: Harry, John, and Jin.
- Channel C: Harry, John, Jin, and Jay.
userIdsExactFilter filter returns a list of the current user's group channels containing exactly the queried user IDs. In case you specify only one user ID in the filter, the filter returns a list of the current user's one or more distinct 1-to-1 group channels with the specified user.
userIdsIncludeFilter filter returns a list of the current user's group channels including the queried user IDs partially or exactly. Depending on the value of the
GroupChannelListQueryType parameter, different results can be returned.