Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/manage.ts>BotCommand

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface BotCommand
import { type BotCommand } from "https://deno.land/x/grammy_types@v3.6.2/manage.ts";

This object represents a bot command.

Properties

command: string

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

description: string

Description of the command; 1-256 characters.