Interface BotCommandScopeChat

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

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

Properties

Properties

chatId: string | number

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

type: "chat"

The scope type, must be "chat".