Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/mod.ts>BotCommand

Type declarations of the Telegram Bot API.
Latest
interface BotCommand
Re-export
import { type BotCommand } from "https://deno.land/x/grammy_types@v3.16.0/mod.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.