GramIO API Reference / gramio/dist / SetMyDefaultAdministratorRightsParams
Interface: SetMyDefaultAdministratorRightsParams
Defined in: @gramio/types/out/params.d.ts:2655
Params object for setMyDefaultAdministratorRights method
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
for_channels? | boolean | 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. | @gramio/types/out/params.d.ts:2663 |
rights? | TelegramChatAdministratorRights | A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared. | @gramio/types/out/params.d.ts:2659 |