Group
update
Updates a group
moises.group.update
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
groupId | string | Yes | The ID of the group to update |
name | string | No | The name of the group |
type | string | No | The type of the group |
order | number | No | The order of the group |
solo | boolean | No | Whether the group is solo |
muted | boolean | No | Whether the group is muted |
volume | number | No | The volume of the group (0-1) |
takeLaneSetup | Array | No | The take lane setup configuration for the group |
Returns:
Promise<void>
- Promise that resolves when the group is updated
Usage Example
import { initMoisesExtension } from '@moises.ai/extension'
const useMoisesExtension = initMoisesExtension({
id: 'id',
name: 'name',
description: 'description',
icon: 'icon',
version: 'version',
author: 'author'
})
const { moises } = useMoisesExtension()
await moises.group.update({
groupId: "group-123",
name: "Updated Group Name",
muted: true,
volume: 0.8
})
This file is automatically generated. Do not edit manually.