Creates a new party invite for the current identity's party. Identity must be the party leader.
Use a bare-bones client and the command you need to make an API call.
import { PartyServiceClient, CreatePartyInviteCommand } from "@rivet-gg/party"; // ES Modules import // const { PartyServiceClient, CreatePartyInviteCommand } = require("@rivet-gg/party"); // CommonJS import const client = new PartyServiceClient(config); const command = new CreatePartyInviteCommand(input); const response = await client.send(command);
CreatePartyInviteCommandInput for command's input shape.
input
CreatePartyInviteCommandOutput for command's response shape.
response
config for PartyServiceClient's config shape.
config
Creates a new party invite for the current identity's party. Identity must be the party leader.
Use a bare-bones client and the command you need to make an API call.
import { PartyServiceClient, CreatePartyInviteCommand } from "@rivet-gg/party"; // ES Modules import // const { PartyServiceClient, CreatePartyInviteCommand } = require("@rivet-gg/party"); // CommonJS import const client = new PartyServiceClient(config); const command = new CreatePartyInviteCommand(input); const response = await client.send(command);CreatePartyInviteCommandInput for command's
inputshape.CreatePartyInviteCommandOutput for command's
responseshape.config for PartyServiceClient's
configshape.