Consumes a group invite to join a group.
Use a bare-bones client and the command you need to make an API call.
import { GroupServiceClient, ConsumeGroupInviteCommand } from "@rivet-gg/group"; // ES Modules import // const { GroupServiceClient, ConsumeGroupInviteCommand } = require("@rivet-gg/group"); // CommonJS import const client = new GroupServiceClient(config); const command = new ConsumeGroupInviteCommand(input); const response = await client.send(command);
ConsumeGroupInviteCommandInput for command's input shape.
input
ConsumeGroupInviteCommandOutput for command's response shape.
response
config for GroupServiceClient's config shape.
config
Consumes a group invite to join a group.
Use a bare-bones client and the command you need to make an API call.
import { GroupServiceClient, ConsumeGroupInviteCommand } from "@rivet-gg/group"; // ES Modules import // const { GroupServiceClient, ConsumeGroupInviteCommand } = require("@rivet-gg/group"); // CommonJS import const client = new GroupServiceClient(config); const command = new ConsumeGroupInviteCommand(input); const response = await client.send(command);ConsumeGroupInviteCommandInput for command's
inputshape.ConsumeGroupInviteCommandOutput for command's
responseshape.config for GroupServiceClient's
configshape.