telegramx.js

BotCommand

interface

This object represents a bot command.

Declaration

interface BotCommand 

Properties

commandproperty#
command: string;

Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.

descriptionproperty#
description: string;

Description of the command; 1-256 characters