Available types

BotCommand

This object represents a bot command.

fields

fieldtyperequireddescription
commandstringrequiredText of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
descriptionstringrequiredDescription of the command; 1-256 characters
is_ephemeralbooleanoptionalOptional. True, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot

import

types.ts
import type { BotCommand } from "@yaebal/types";

used by

methods