telegramx.js

BotCommandScopeChat

interface

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

Declaration

interface BotCommandScopeChat 

Properties

chat_idproperty#
chat_id: number | string;

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

typeproperty#
type: 'chat';

Scope type, must be chat