Follows the given identity. In order for identities to be "friends", the other identity has to also follow this identity.
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);
FollowIdentityCommandInput for command's input shape.
input
FollowIdentityCommandOutput for command's response shape.
response
config for IdentityServiceClient's config shape.
config
Follows the given identity. In order for identities to be "friends", the other identity has to also follow this identity.
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);FollowIdentityCommandInput for command's
inputshape.FollowIdentityCommandOutput for command's
responseshape.config for IdentityServiceClient's
configshape.