Interface BotCommandScopeChatAdministrators

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

interface BotCommandScopeChatAdministrators {
    chatId: string | number;
    type: "chat_administrators";
}

Properties

Properties

chatId: string | number

The unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).

type: "chat_administrators"

The scope type, must be "chat_administrators".