group_promote_admin
Promote a member to admin in an existing group on Telegram or WhatsApp.
What this does:
Gives the specified member admin status in the group
On Telegram, this grants visibility of all group messages (even if not a bot)
Defaults to minimal/empty rights; specify custom rights if needed
Returns: success, chat_id, member.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes | The member to promote (format depends on channel: @username on Telegram, phone on WhatsApp) | |
| rights | No | Optional admin rights dict (Telegram-specific). If not provided, defaults to minimal/admin status only. Example: {"post_messages": true, "edit_messages": true} | |
| channel | Yes | Channel where the group exists (e.g., 'telegram', 'whatsapp') | |
| chat_id | Yes | ID of the group/channel where the member will be promoted. 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. |