Skip to content

Class · inherits Instance

ExperienceInviteOptions

Official docs ↗

Used to customize a player invite prompt.

About ExperienceInviteOptions

Used to customize a player invite prompt, such as to customize the prompt message, target a specific friend, or include launch data in the invite.

Properties 4

  • InviteMessageId: stringAsset ID that maps to a Notification asset type.

    Asset ID that maps to a Notification asset type. This asset is used to store/localize a custom string for the invite notification that friends receive. See Setting Notification Options for details.

  • InviteUser: int64Roblox UserId of the specific friend to invite.

    Roblox UserId of the specific friend to invite; if not provided, the player will be prompted to pick from a list of friends.

  • LaunchData: stringUsed to set a parameter in Player.GetJoinData when a friend joins from the invite notification.

    Used to set a parameter in Player.GetJoinData when a friend joins from the invite notification; maximum of 200 characters. See Include launch data for a usage example.

  • PromptMessage: stringCustom text shown on the invite prompt for the sending player.

    Custom text shown on the invite prompt for the sending player, for example "Ask your friends to join the adventure!" for a multi-friend invite prompt, or "Invite this friend to join the adventure!" for a specific friend invite prompt.

ExperienceInviteOptions also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.