Creaflow creaflowio.com

Generador de lista de comandos para bots de Telegram

Crea una lista de comandos lista para BotFather y un JSON de setMyCommands para tu bot de Telegram en segundos.

Formato para @BotFather (/setcommands)

JSON para Bot API (setMyCommands)

Cómo usarlo

Abre @BotFather → elige tu bot → /setcommands → pega el texto del primer bloque. O envía el JSON al método setMyCommands de la Bot API.

¿Por qué necesitas un menú de comandos?

Un menú de comandos muestra a los usuarios las acciones disponibles del bot justo junto al campo de entrada, aumentando el uso de funciones sin explicaciones adicionales.

¿Cómo añado una lista de comandos a mi bot?

Abre un chat con @BotFather, elige tu bot, envía /setcommands y pega la lista generada en formato "comando - descripción".

¿Cuáles son los requisitos para los nombres de comandos?

Los nombres de comandos solo pueden contener letras latinas minúsculas, números y guiones bajos, hasta 32 caracteres, sin la barra inicial.

¿Por qué necesito el formato JSON?

El formato JSON se usa para establecer comandos programáticamente mediante el método setMyCommands de la Bot API, útil para automatización o actualización dinámica del menú del bot.

Preguntas frecuentes

How do I set up a command list for my Telegram bot?

This generator produces a ready BotFather command list plus the exact setMyCommands JSON payload — paste the list into @BotFather or call the API directly with the JSON.

What is the setMyCommands API method used for?

It registers the slash-command menu users see when they tap the '/' icon in a chat with your bot, so they can discover available commands without reading documentation.

How many commands can a Telegram bot have?

Telegram allows up to 100 commands per bot via setMyCommands, though a menu with more than 10-15 becomes hard for users to scan — keep it to your most-used commands.

Más herramientas