Add Members
add_membersAdd one or more users to a group chat by providing the chat ID and a list of user IDs. Requires bot admin privileges.
Instructions
Add one or more users to a group chat. The bot must be an admin of the chat. Provide user_ids to add.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>",
"user_ids": "<user_ids>"
},
"name": "add_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | The chat_id of the group chat | |
| user_ids | Yes | List of user_ids to add to the chat |