Options
All
  • Public
  • Public/Protected
  • All
Menu

Follows the given identity. In order for identities to be "friends", the other identity has to also follow this identity.

example

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

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

FollowIdentityCommandInput for command's input shape.

see

FollowIdentityCommandOutput for command's response shape.

see

config for IdentityServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

Readonly middlewareStack

middlewareStack: IMiddlewareStack<FollowIdentityCommandInput, FollowIdentityCommandOutput>