BotCommand
This object represents a bot command.
fields
| field | type | required | description |
|---|---|---|---|
command | string | required | Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores. |
description | string | required | Description of the command; 1-256 characters |
import
import type { BotCommand } from "@yaebal/types";used by
methods
official Bot API docs: https://core.telegram.org/bots/api/#botcommand