Get Admins
get_adminsRetrieve the list of administrators in a group chat, including user IDs, names, usernames, and permissions. Provide the chat ID to get admin details.
Instructions
Get the list of administrators in a group chat. Returns user_id, name, username, and permissions for each admin.
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>"
},
"name": "get_admins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | The chat_id of the group chat |