Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/settings.ts>BotCommandScopeChatAdministrators

Type declarations of the Telegram Bot API.
Latest
interface BotCommandScopeChatAdministrators
import { type BotCommandScopeChatAdministrators } from "https://deno.land/x/grammy_types@v3.16.0/settings.ts";

Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.

Properties

type: "chat_administrators"

Scope type, must be chat_administrators

chat_id: number | string

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)