typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
16 lines (15 loc) • 394 B
TypeScript
/**
* ## BotCommand
* This object represents a bot command.
* @see https://core.telegram.org/bots/api#botcommand
*/
export type BotCommand = {
/**
* Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
*/
command: string;
/**
* Description of the command; 1-256 characters.
*/
description: string;
};