Prepares an avatar image upload. Complete upload with rivet.api.group#CompleteGroupAvatarUpload.
rivet.api.group#CompleteGroupAvatarUpload
Use a bare-bones client and the command you need to make an API call.
import { GroupServiceClient, PrepareGroupAvatarUploadCommand } from "@rivet-gg/group"; // ES Modules import // const { GroupServiceClient, PrepareGroupAvatarUploadCommand } = require("@rivet-gg/group"); // CommonJS import const client = new GroupServiceClient(config); const command = new PrepareGroupAvatarUploadCommand(input); const response = await client.send(command);
PrepareGroupAvatarUploadCommandInput for command's input shape.
input
PrepareGroupAvatarUploadCommandOutput for command's response shape.
response
config for GroupServiceClient's config shape.
config
Prepares an avatar image upload. Complete upload with
rivet.api.group#CompleteGroupAvatarUpload.Use a bare-bones client and the command you need to make an API call.
import { GroupServiceClient, PrepareGroupAvatarUploadCommand } from "@rivet-gg/group"; // ES Modules import // const { GroupServiceClient, PrepareGroupAvatarUploadCommand } = require("@rivet-gg/group"); // CommonJS import const client = new GroupServiceClient(config); const command = new PrepareGroupAvatarUploadCommand(input); const response = await client.send(command);PrepareGroupAvatarUploadCommandInput for command's
inputshape.PrepareGroupAvatarUploadCommandOutput for command's
responseshape.config for GroupServiceClient's
configshape.