Skip to main content
Very Popular
Go to Latest
method Context.prototype.setMyDefaultAdministratorRights
import { Context } from "";

Context-aware alias for api.setMyDefaultAdministratorRights. 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.


other: Other<"setMyDefaultAdministratorRights">

Optional remaining parameters, confer the official reference below

signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: