# new UsersQuery(params)
Creates a UsersQuery
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
object |
Properties
|
- Source:
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. |
- Source:
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. |
- Source:
Returns:
New instance.
- Type
- UsersQuery
# (static) suggested() → {UsersQuery}
Get suggested users.
- Source:
Returns:
New instance.
- Type
- UsersQuery