interface BotCommandScopeChat

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

Properties

type: "chat"

Scope type, must be chat

chat_id: number | string

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.

Usage

import { type BotCommandScopeChat } from "types";