To filter group channels by user IDs, use userIdsExactFilter
or userIdsIncludeFilter
. Let's assume the ID of the current user is Emma
and the user is a member of two group channels.
-
Channel A consists of
Emma
,Maya
, andBrett
. -
Channel B consists of
Emma
,Maya
,Brett
, andChelsea
.
The userIdsExactFilter
parameter 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.
On the other hand, the userIdsIncludeFilter
parameter returns a list of the current user's group channels including the queried user IDs partially and exactly. Two different results can be returned according to the value of the queryType
parameter.