API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_GroupPresence_GetInvitableUsers Function

Returns a list of users that can be invited to your current lobby. These are pulled from your bidirectional followers and recently met lists. ovrMessage_GroupPresence_GetInvitableUsers will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrUserArrayHandle. Extract the payload from the message handle with ovr_Message_GetUserArray().

Signature

ovrRequest ovr_GroupPresence_GetInvitableUsers(ovrInviteOptionsHandle options)

Parameters

options: ovrInviteOptionsHandle It contains two methods. 1. ovr_InviteOptions_AddSuggestedUser() - Takes the userID as a parameter and adds it to the inevitable users list. 2. ovr_InviteOptions_ClearSuggestedUsers() - Clears the inevitable users list.

Returns