AI Integration Quick Reference
AI Integration Quick Reference
Update Group
UseupdateGroup() to modify group details. Pass a Group object with the updated values.
- TypeScript
- JavaScript
| Parameter | Description |
|---|---|
group | An instance of Group class with updated values |
Group object with the updated details.
The method returns a Group object. Access the response data using getter methods:
| Field | Getter | Return Type | Description |
|---|---|---|---|
| guid | getGuid() | string | Unique group ID |
| name | getName() | string | Display name of the group |
| type | getType() | string | Group type ("public", "private", or "password") |
| description | getDescription() | string | Description of the group |
| icon | getIcon() | string | URL of the group icon |
| owner | getOwner() | string | UID of the group owner |
| updatedAt | getUpdatedAt() | number | Timestamp when the group was last updated |
There is no real-time event listener available to receive updated group details when the
updateGroup() method is called. To get the latest group information, you need to fetch the group details again using the appropriate method.Group class, please check here.
Next Steps
Delete Group
Permanently delete a group
Retrieve Groups
Fetch and filter groups with pagination