UsersQuery

UsersQuery

# new UsersQuery(params)

Creates a UsersQuery
Parameters:
Name Type Description
params object
Properties
Name Type Description
searchTerm string Search term.
userId UserId User ID.

Methods

# (static) find(searchTerm) → {UsersQuery}

Create a query to find users, that have query string in their Display Name.
Parameters:
Name Type Description
searchTerm string Part of display name.
Returns:
New instance.
Type
UsersQuery

# (static) followedBy(userId) → {UsersQuery}

Get users followed by a specific user.
Parameters:
Name Type Description
userId UserId ID of user.
Returns:
New instance.
Type
UsersQuery

# (static) suggested() → {UsersQuery}

Get suggested users.
Returns:
New instance.
Type
UsersQuery