FollowersQuery

FollowersQuery

# new FollowersQuery(ids)

Creates a FollowersQuery
Parameters:
Name Type Description
ids CommunitiesIds Entity IDs.

Methods

# (static) ofGroup(id) → {FollowersQuery}

Get followers of group with ID.
Parameters:
Name Type Description
id string Group ID.
Returns:
New query.
Type
FollowersQuery

# (static) ofLabel(id) → {FollowersQuery}

Get followers of label.
Parameters:
Name Type Description
id string Label.
Returns:
New query.
Type
FollowersQuery

# (static) ofTag(id) → {FollowersQuery}

Get followers of tag.
Parameters:
Name Type Description
id string Tag.
Returns:
New query.
Type
FollowersQuery

# (static) ofTopic(id) → {FollowersQuery}

Get followers of topic with ID.
Parameters:
Name Type Description
id string Topic ID.
Returns:
New query.
Type
FollowersQuery

# (static) ofUser(id) → {FollowersQuery}

Get followers of user with ID.
Parameters:
Name Type Description
id UserId User ID.
Returns:
New query.
Type
FollowersQuery

# withName(searchTerm) → {FollowersQuery}

Filter by username or display name.
Parameters:
Name Type Description
searchTerm string Beginning of username or display name.
Returns:
Same query.
Type
FollowersQuery