getMyDefaultAdministratorRights
Retrieve the bot's current default administrator rights for groups, supergroups, or channels. Use it to verify permissions before configuring admin roles.
Instructions
Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getMyDefaultAdministratorRights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for_channels | No | Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned. |