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> = ...

GET https://friends.roblox.com/v1/users/:userId/friends/online

Get list of all online friends for the specified user.

The user Id to get the friends for.