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

ovr_GroupPresence_SendInvites Function

Sends invites to the current application to the list of userIDs passed in. You can fetch a list of users to pass in via the ovr_GroupPresence_GetInvitableUsers(). This API works as an alternative to ovr_GroupPresence_LaunchInvitePanel() which delegates the invite flow to the system invite module. ovr_GroupPresence_LaunchInvitePanel() is the recommended approach. ovrMessage_GroupPresence_SendInvites 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 ovrSendInvitesResultHandle. Extract the payload from the message handle with ovr_Message_GetSendInvitesResult().

Signature

ovrRequest ovr_GroupPresence_SendInvites(ovrID *userIDs, unsigned int userIDLength)

Parameters

userIDs: ovrID * userIDs is a list of users’ ids to send invites to.
userIDLength: unsigned int The number of user IDs provided.

Returns