Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy/types.deno.ts>BotCommand

The Telegram Bot Framework.
Go to Latest
interface BotCommand
Re-export
import { type BotCommand } from "https://deno.land/x/grammy@v1.15.3/types.deno.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.