typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
16 lines (15 loc) • 433 B
TypeScript
/**
* ## BotCommandScopeChat
* Represents the scope of bot commands, covering a specific chat.
* @see https://core.telegram.org/bots/api#botcommandscopechat
*/
export type BotCommandScopeChat = {
/**
* Scope type, must be chat
*/
type: 'chat';
/**
* Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
*/
chat_id: number | string;
};