Variable getUsersUseridFriendsOnlineConst
getUsersUseridFriendsOnline: EndpointGeneric<{ userId: number; userSort: | undefined | 0 | 2 | 1; }, { data: { displayName: string; id: number; name: string; userPresence: { gameInstanceId: string; lastLocation: string; lastOnline: string; placeId: number; rootPlaceId: number; universeId: number; UserLocationType: string; UserPresenceType: string; }; }[]; }, any> = ...
Api
GET https://friends.roblox.com/v1/users/:userId/friends/online
Summary
Get list of all online friends for the specified user.
Param: userId
The user Id to get the friends for.
Param: userSort