Options
All
  • Public
  • Public/Protected
  • All
Menu

Completes an avatar image upload. Must be called after the file upload process completes. Call rivet.api.group#PrepareGroupAvatarUpload first.

example

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

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

CompleteGroupAvatarUploadCommandInput for command's input shape.

see

CompleteGroupAvatarUploadCommandOutput for command's response shape.

see

config for GroupServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CompleteGroupAvatarUploadCommandInput

Readonly middlewareStack