Skip to main content

Built and signed on GitHub Actions

Code-generated and Auto-published Telegram Bot API types

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a month ago (8.3.3)
property APIMethods.getMyDefaultAdministratorRights

Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.

Documentation

Type

CallAPIWithOptionalParams<Params.GetMyDefaultAdministratorRightsParams, Objects.TelegramChatAdministratorRights>

Add Package

deno add jsr:@gramio/types

Import symbol

import { type APIMethods } from "@gramio/types";

---- OR ----

Import directly with a jsr specifier

import { type APIMethods } from "jsr:@gramio/types";

Add Package

npx jsr add @gramio/types

Import symbol

import { type APIMethods } from "@gramio/types";

Add Package

yarn dlx jsr add @gramio/types

Import symbol

import { type APIMethods } from "@gramio/types";

Add Package

pnpm dlx jsr add @gramio/types

Import symbol

import { type APIMethods } from "@gramio/types";

Add Package

bunx jsr add @gramio/types

Import symbol

import { type APIMethods } from "@gramio/types";