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

InviteOptions

Updated: Aug 26, 2025

InviteOptions

data class InviteOptions(var suggestedUsers: MutableList<String> = mutableListOf())
The Invite Option, to be passed in to horizon.platform.grouppresence.GroupPresence.getInvitableUsers and horizon.platform.grouppresence.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.

Constructors

NameSummary
InviteOptions
constructor(suggestedUsers: MutableList<String> = mutableListOf())

Properties

NameSummary
suggestedUsers
var suggestedUsers: MutableList<String>
Passing in these users will add them to the invitable users list. From the horizon.platform.grouppresence.GroupPresence.launchInvitePanel, the user can open the invite list, where the suggested users will be added.

Functions

NameSummary
addSuggestedUser
fun addSuggestedUser(value: String)
clearSuggestedUsers
fun clearSuggestedUsers()
Did you find this page helpful?
Thumbs up icon
Thumbs down icon