getMyDefaultAdministratorRights
Retrieve the bot's current default administrator rights for groups or channels, returning a ChatAdministratorRights object to verify permissions.
Instructions
Get the current default administrator rights of the bot. Returns a ChatAdministratorRights object.
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 for channels. Otherwise, returns rights for groups and supergroups. |