filter
Return
the same instance of AmityCommunityQuery.Builder
Parameters
filter
to specify AmityCommunityFilter when filter is AmityCommunityFilter.ALL, the membership filter is not applied when filter is AmityCommunityFilter.MEMBER, the result contains only communities that user is a member of when filter is AmityCommunityFilter.NOT_MEMBER, the result contains only communities that user is not a member of the default value of filter is AmityCommunityFilter.ALL