API reference

horizon.platform.grouppresence.models

Updated: Oct 30, 2025

Package-level declarations

Types

NameSummary
interface ApplicationInvite
An Application Invite contains information about the invite, including the application ID, destination, activity status, the lobby session id, the match session id, and recipient’s user id or user alias. If the invite is generated from rich presence, the lobby/match session id will be auto populated by calling horizon.platform.users.models.User.presenceLobbySessionId and horizon.platform.users.models.User.presenceMatchSessionId from the inviter’s viewer context.
interface ApplicationInviteArray
An Application Invite contains information about the invite, including the application ID, destination, activity status, the lobby session id, the match session id, and recipient’s user id or user alias. If the invite is generated from rich presence, the lobby/match session id will be auto populated by calling horizon.platform.users.models.User.presenceLobbySessionId and horizon.platform.users.models.User.presenceMatchSessionId from the inviter’s viewer context.
interface GroupPresenceJoinIntent
An GroupPresenceJoinIntent represents a user’s intent to join a group presence which is user’s presence to be at a horizon.platform.richpresence.models.Destination and session. People with same session id are considered to be co-present together. Every combination of destination api name, lobby session id and match session id can uniquely identify a destination.
interface GroupPresenceLeaveIntent
An GroupPresenceLeaveIntent represents a user’s intent to leave a group presence which is user’s presence to be at a horizon.platform.richpresence.models.Destination and session. People with same session id are considered to be co-present together. Every combination of destination api name, lobby session id and match session id can uniquely identify a destination.
interface InvitePanelResultInfo
It contains information about the user’s invitation to others to join their current session. It is used to provide feedback to the user about whether their invitations have been successfully sent. It can be retrieved using horizon.platform.grouppresence.GroupPresence.launchInvitePanel.
interface LaunchInvitePanelFlowResult
Represents the result of a user’s interaction with the invite panel, which is used to send out invitations to other users. It provides a way for developers to track the results of a user’s interaction with the invite panel, including the list of users who were invited to the session. It can be retrieved using horizon.platform.grouppresence.GroupPresence.invitationsSent.
interface RejoinDialogResult
A boolean that indicates the result of horizon.platform.grouppresence.GroupPresence.launchRejoinDialog. ‘True’ indicates that the application will rejoin the dialog, otherwise the application will not rejoin the dialog. Read more about the rejoin dialog.
interface SendInvitesResult
The result of sending an invite to a user or list of users shows invites were sent successfully through the resulting array. This is the model returned in a successful response to the horizon.platform.grouppresence.GroupPresence.sendInvites api.