Module

x/grammy/types.ts>BotCommandScopeChat

The Telegram Bot Framework.
Very Popular
Go to Latest
interface BotCommandScopeChat
import { type BotCommandScopeChat } from "https://dotland.deno.dev/x/grammy@v1.12.0/types.ts";

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)