setMyDefaultAdministratorRights
Sets the default administrator rights a bot suggests when added to groups or channels, so users see preset permissions they can adjust before approving the bot.
Instructions
Use this method to the change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are are free to modify the list before adding the bot. Returns True 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": "setMyDefaultAdministratorRights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rights | No | An object describing new default administrator rights. If not specified, the default administrator rights will be cleared. | |
| for_channels | No | Pass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed. |