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