The Invite Option, to be passed in to GroupPresence.GetInvitableUsers() and GroupPresence.LaunchInvitePanel(), is a field that allows developers to specify a list of suggested users to be added to the invitable users list, making it easier for users to connect with others and create a more social experience.
Member Functions
InviteOptions ( )
Creates a new instance of ::InviteOptions which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
void AddSuggestedUser
( UInt64 userID )
Passing in these users will add them to the invitable users list. From the GroupPresence.LaunchInvitePanel(), the user can open the invite list, where the suggested users will be added.
void ClearSuggestedUsers ( )
This method clears the SuggestedUsers options associated with this instance, and the instance will be in its default state.
This operator allows you to pass an instance of the ::InviteOptions class to native C code as an IntPtr. The operator returns the handle of the options object, or IntPtr.Zero if the object is null.