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