# new FriendsQuery(userId)
Creates a FriendsQuery
Parameters:
Name | Type | Description |
---|---|---|
userId |
UserId | User ID. |
- Source:
Methods
# (static) ofUser(userId) → {FriendsQuery}
Get friends of a user.
Parameters:
Name | Type | Description |
---|---|---|
userId |
UserId | User ID. |
Returns:
New query.
- Type
- FriendsQuery