channelId

abstract fun channelId(@Nullable channelId: @Nullable String): GetMemberships

Optional Channel identifier to filter by. channelId and userId are independent, AND-ed equality filters on fixed sides of the membership: channelId matches the Channel (entity A) side and userId matches the User (entity B) side. Supplying only one narrows to memberships on that side; supplying both returns the membership(s) matching both (i.e. that specific channel-user pair); supplying neither lists all readable memberships.