Interface BotCommandScopeChat

Represents the scope of bot commands, covering a specific chat.

interface BotCommandScopeChat {
    chat_id: string | number;
    type: "chat";
}

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"

The scope type, must be "chat".