StaticGramBot API

BotCommand

This object represents a bot command.

Поля

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

Минимальный JSON

JSON
{
  "command": "...",
  "description": "..."
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top