docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateGamingSquadPayload

    Represents parameters used to configure a gaming squad.

    Inheritance
    object
    JsObject
    CreateGamingSquadPayload
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames
    Assembly: Unity.Meta.InstantGames.Sdk.dll
    Syntax
    public class CreateGamingSquadPayload : JsObject

    Constructors

    CreateGamingSquadPayload()

    Construct an instance of CreateGamingSquadPayload

    Declaration
    public CreateGamingSquadPayload()

    CreateGamingSquadPayload(string, string, string)

    Creates a new instance of CreateGamingSquadPayload

    Declaration
    public CreateGamingSquadPayload(string name = null, string image = null, string squadTerm = null)
    Parameters
    Type Name Description
    string name

    An optional prefill for the squad name input in the creation dialog. The player ultimately controls the actual name.

    string image

    An optional Base64-encoded image that is associated with the gaming squad and appears in the creation dialog. It's also the profile icon for squad in the Messenger thread.

    string squadTerm

    An optional localized term to use in place of Squad in the dialog.

    Properties

    Image

    An optional Base64-encoded image that is associated with the gaming squad and appears in the creation dialog. It's also the profile icon for squad in the Messenger thread.

    Declaration
    public string Image { get; }
    Property Value
    Type Description
    string

    Name

    An optional prefill for the squad name input in the creation dialog. The player ultimately controls the actual name.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    SquadTerm

    An optional localized term to use in place of Squad in the dialog.

    Declaration
    public string SquadTerm { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)