people-groupParty

API References for Party Service

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

circle-exclamation

Find Partiesarrow-up-right

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 Partyarrow-up-right

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 partiesarrow-up-right

Retrieves a list of parties the user has subscribed to.

Join To Partyarrow-up-right

Joins the user to a specified party.

Removes a user from a specified party.

Get Party By IDarrow-up-right

Retrieves a party by its unique identifier.

Edits the details of a specified party.

Get Party Membersarrow-up-right

Retrieves a list of members in a specified party.

Get Party Membership Requestsarrow-up-right

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

Accept Join Requestarrow-up-right

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

Reject Join Requestarrow-up-right

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

Last updated