Telegram Bot API

Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren't set, an empty list is returned.

post/getMyCommands

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/getMyCommands
  • Auth: none declared

Request body

language_codestring

A two-letter ISO 639-1 language code or an empty string

Response

Telegram API response

oktrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.