Transfers ownership of the party to another party member. Identity must be the party leader.
Use a bare-bones client and the command you need to make an API call.
import { PartyServiceClient, TransferPartyOwnershipCommand } from "@rivet-gg/party"; // ES Modules import // const { PartyServiceClient, TransferPartyOwnershipCommand } = require("@rivet-gg/party"); // CommonJS import const client = new PartyServiceClient(config); const command = new TransferPartyOwnershipCommand(input); const response = await client.send(command);
TransferPartyOwnershipCommandInput for command's input shape.
input
TransferPartyOwnershipCommandOutput for command's response shape.
response
config for PartyServiceClient's config shape.
config
Transfers ownership of the party to another party member. Identity must be the party leader.
Use a bare-bones client and the command you need to make an API call.
import { PartyServiceClient, TransferPartyOwnershipCommand } from "@rivet-gg/party"; // ES Modules import // const { PartyServiceClient, TransferPartyOwnershipCommand } = require("@rivet-gg/party"); // CommonJS import const client = new PartyServiceClient(config); const command = new TransferPartyOwnershipCommand(input); const response = await client.send(command);TransferPartyOwnershipCommandInput for command's
inputshape.TransferPartyOwnershipCommandOutput for command's
responseshape.config for PartyServiceClient's
configshape.