Options
All
  • Public
  • Public/Protected
  • All
Menu

Sets the activity of the current identity's party to idle. Identity must be the party leader.

example

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);
see

SetPartyToIdleCommandInput for command's input shape.

see

SetPartyToIdleCommandOutput for command's response shape.

see

config for PartyServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: SetPartyToIdleCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<SetPartyToIdleCommandInput, SetPartyToIdleCommandOutput>