Make, rename or remove a #kanal
manage_kanalMake, rename, re-lock or remove a #kanal (a chat inside a home) the person runs. action create: name (+ access: all / invite / a role id from list_homes, optional: true = people join it themselves); rename: kanal + name; access: kanal + access and/or optional; delete: kanal + confirm: true (its chat closes for everyone; #allmänt stays). In a förening or an all-ages community, create/rename/access are a card the person confirms (under-18s may be in it). Write in a #kanal with send_to_conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | No | Which home — its name (e.g. "Löparklubben") or its id from list_homes. May be left out when the person runs exactly one. | |
| name | No | create / rename: e.g. "styrelsen". | |
| kanal | No | rename / access / delete: its name as list_homes shows it (e.g. "#styrelsen") or its groupId. | |
| access | No | all, invite or a role id (e.g. "leader", "adult" or one of the home's own). | |
| action | Yes | ||
| confirm | No | delete: true once the person confirmed. | |
| optional | No | true: listed under "Browse channels", people join it themselves. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | Yes | ||
| note | Yes | ||
| kanal | Yes | ||
| itemId | Yes | ||
| status | Yes | ||
| conversationId | Yes |