group_add_member
Add a member to an existing group on Telegram or WhatsApp.
What this does:
Adds the specified member to the group
Resolves the member by username, phone number, or JID
Reports if the member is already in the group
Returns: success, chat_id, member, already_member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes | The member to add (format depends on channel: @username on Telegram, phone on WhatsApp) | |
| channel | Yes | Channel where the group exists (e.g., 'telegram', 'whatsapp') | |
| chat_id | Yes | ID of the group/channel to add the member to. Group id exactly as `group.list` reports it: a signed numeric id on Telegram, or a JID ending in @g.us on WhatsApp. A WhatsApp group has no numeric id, so this is a string either way. Read it from `group.list`; never compose one. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |