Party

API References for Party Service

Explore the list of API functions available in Unity for party service, including detailed descriptions and usage examples.

Find Parties

Retrieves a list of parties based on the specified parameters.

var parties = await ServiceHub.Services.Party.GetParties(new GetPartiesParams
{
    Query = "",
    Skip = 0,
    Limit = 0
});

Create New Party

Creates a new party based on the specified parameters.

var party = await ServiceHub.Services.Party.CreateParty(new CreatePartyParams
{
    Data = new PartyInput
        {
            Name = "",
            Desc = "",
            MaxMemberCount = 0,
            IsPrivate = false,
            Teams = new string[] { },
            Channels = new string[] { },
            Variables = new Dictionary<string, string>()
        }
});

Get Subscribed parties

Retrieves a list of parties the user has subscribed to.

Join To Party

Joins the user to a specified party.

Leave Party

Removes a user from a specified party.

Get Party By ID

Retrieves a party by its unique identifier.

Edit Party

Edits the details of a specified party.

Get Party Members

Retrieves a list of members in a specified party.

Get Party Membership Requests

Retrieves a list of members waiting for approval to join a specified party.

Accept Join Request

Accepts a member's request to join a specified party.

Reject Join Request

Rejects a member's request to join a specified party.

Last updated