The Friends Object
OBJECTFriends
Members#
| Name | Type | Description |
|---|---|---|
| username | String | The username of the user |
| status | String | The friend status of the user |
| onlineState | Object? | Bool | The online state of the player |
| onlineState.application | String | The application name that the user is currently logged into |
| onlineState.applicationDisplayName | String | The application name displayed in the Friends and Relations dialog |
Remarks#
- The
statusfield can be one of three values:friend: This user is currently a confirmed friend of the authenticated userrequest-outgoing: This user has yet to respond to an outgoing friend request from the authenticated userrequest-incoming: This user has sent a friend request to the authenticated user, which has yet to be responded to.
- The
onlineStatefield can be one of two values:false: the user is not currently online[Object]: the user is currently online