Module

x/grammy/types.ts>BotCommand

The Telegram Bot Framework.
Very Popular
Go to Latest
interface BotCommand
import { type BotCommand } from "https://dotland.deno.dev/x/grammy@v1.21.2/types.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.

import BotCommand
import { BotCommand } from "https://dotland.deno.dev/x/grammy@v1.21.2/types.ts";