Interface BotCommandScopeChatAdministrators

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

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

Properties

Properties

chat_id: string | number

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

type: "chat_administrators"

The scope type, must be "chat_administrators".