Skip to main content
Extremely Popular
Go to Latest
method Api.prototype.setMyDefaultAdministratorRights
import { Api } from "https://deno.land/x/grammy@v1.11.1/mod.ts";

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.

Parameters

optional
other: Other<R, "setMyDefaultAdministratorRights">

Optional remaining parameters, confer the official reference below

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#setmydefaultadministratorrights