Options
All
  • Public
  • Public/Protected
  • All
Menu

Sets the current identity's game activity. This activity will automatically be removed when the identity goes offline.

example

Use a bare-bones client and the command you need to make an API call.

import { IdentityServiceClient, SetIdentityGameActivityCommand } from "@rivet-gg/identity"; // ES Modules import
// const { IdentityServiceClient, SetIdentityGameActivityCommand } = require("@rivet-gg/identity"); // CommonJS import
const client = new IdentityServiceClient(config);
const command = new SetIdentityGameActivityCommand(input);
const response = await client.send(command);
see

SetIdentityGameActivityCommandInput for command's input shape.

see

SetIdentityGameActivityCommandOutput for command's response shape.

see

config for IdentityServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

Readonly middlewareStack