group_create
Create a new group on a channel: a Telegram group, a WhatsApp group, or a Discord SERVER (a community with text channels inside; Discord calls it a guild) owned by the connected account. Returns the new group's chat ID and invite link.
What this does:
Creates a new group with the specified title
Returns chat_id, invite_link, and channel_ref for further operations
Optionally registers the group in your inbox for monitoring
Discord: also makes the text
channelsasked for (beside #general) and one permanent invite link; chat_id is the server id, channel_ref the #general thread,channelslists every text channel with its thread_ref (messages.send posts into one). People cannot be added to a server: send them invite_link. A step Discord refused after the server was made (a channel, the invite) is inproblems; the server exists. Nothing is hosted by DialogBrain: the server lives at Discord.
Returns: success, chat_id, channel_ref, title, thread_id, invite_link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| about | No | Optional description or about text for the group | |
| title | Yes | Title/name of the group to create | |
| channel | Yes | Channel to create the group on: 'telegram', 'whatsapp' or 'discord' (a server) | |
| channels | No | Discord only: text channels to create inside the new server, beside its default #general, e.g. ["rules", "announcements", "submissions"], or objects {"name", "topic"}; at most 10 (more are added in Discord itself). Refused on channels whose groups have no rooms inside (Telegram, WhatsApp). | |
| account_id | No | Which of the workspace's accounts on this channel creates the group (from channels.list). OMIT with one account; with several the workspace's own account is preferred over a shared one. | |
| group_type | No | Type of group to create. Options: 'supergroup' (default), 'basic'. Telegram-only; ignored on WhatsApp. | supergroup |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| participants | No | People to put in the group at creation: phone numbers or JIDs on WhatsApp, @usernames or phone numbers on Telegram. Without this the group is created empty and the creator is its only member, which on WhatsApp means nobody can be shown it — there is no invite link to send. Reported back per person in `participants_added` and `participants_failed`. | |
| register_in_inbox | No | Auto-register the created group in your inbox for monitoring. Default: true. |