Message a team or its parents
message_groupWrite to a group the person leads: its team (the players — youth), its parents' group (the players' linked parents and the leaders — adults only), or both. To the team or both it's ALWAYS an Utskick draft in the group's Utskick list — the leader opens it, checks it and sends it themselves (a card in their Stream opens it). To the parents' group only it goes into that chat like send_to_conversation: a draft they send with one tap (what a person's AI writes to people is always theirs to send — the spheres); labelled "via" your app once sent, and logged in that chat's Min AI. Never ID numbers, passwords, bank or health details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | team (the players), parents (the parents' group) or both. | |
| mode | No | parents only: "send" (default) sends if the person allows it, else drafts; "draft" always drafts. | |
| text | Yes | The message in the person's voice (≤ 2000 characters), e.g. "Hej alla! Träningen på torsdag börjar 18:00 i stället för 17:30. Hälsningar, Anna". | |
| group | No | A group the person leads — its name, e.g. "P13" or "8B" (add the förening's name if several share it, e.g. "Löparklubben P13"), or its groupId from list_personas. May be left out when they lead exactly one. | |
| title | No | A short first line, e.g. "Ändrad tid på torsdag" (≤ 80 characters). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| url | Yes | ||
| why | Yes | ||
| note | Yes | ||
| group | Yes | ||
| reach | Yes | ||
| itemId | Yes | ||
| status | Yes | ||
| draftId | Yes | ||
| messageId | Yes | ||
| broadcastId | Yes |