Very Popular
Latest
method Api.prototype.setMyDefaultAdministratorRights
import { Api } from "https://dotland.deno.dev/x/grammy@v1.31.0/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