telegramx.js

BotCommandScopeChatAdministrators

interface

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

Declaration

interface BotCommandScopeChatAdministrators 

Properties

chat_idproperty#
chat_id: number | string;

Unique identifier for the target chat or username of the target supergroup in the format username. Channel direct messages chats and channel chats aren't supported.

typeproperty#
type: 'chat_administrators';

Scope type, must be chat_administrators