Edit Telegram bot commands online

Bot commands appear in the menu and in hints when a user types “/”. You can set different lists for private chats, groups, administrators and languages.

Do it in a few clicks — no code, no server, right in your browser.

Open the commands editor

Format

One command per line, the name and the description separated by a dash:

start - Start the bot
help - Show help
settings - Open settings
tip - A hint only you can see [ephemeral]

Scopes

ScopeWho sees the list
defaultEveryone, if no narrower scope matches.
all_private_chatsAll private chats.
all_group_chatsAll groups and supergroups.
all_chat_administratorsAdministrators of all groups.
chatOne specific chat (chat_id).
chat_administratorsAdministrators of one chat.
chat_memberOne member of one chat (chat_id + user_id).

Each scope can additionally have lists per language_code (two-letter ISO 639-1). Telegram picks the most specific scope, then the user's language, then the list without a language.

Same with curl

curl -X POST "https://api.telegram.org/bot$BOT_TOKEN/setMyCommands" \
  --form-string 'commands=[{"command":"start","description":"Start the bot"},{"command":"help","description":"Show help"}]' \
  --form-string 'scope={"type":"all_private_chats"}' \
  --form-string "language_code=en"

Delete a list:

curl -X POST "https://api.telegram.org/bot$BOT_TOKEN/deleteMyCommands" \
  --form-string 'scope={"type":"all_group_chats"}'

Tips

Do it in a few clicks — no code, no server, right in your browser.

Open the commands editor