> For the complete documentation index, see [llms.txt](https://docs.1millionbot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1millionbot.com/es/chatbot/channels/telegram.md).

# Telegram

## Configuración

Para configurar la integración de tu asistente en Telegram, necesitarás lo siguiente:

* Una cuenta de Telegram.

### Crear un bot

1. Inicia una conversación con el bot creador [BotFather](https://t.me/BotFather).
2. Introduce el comando `/newbot`  y a continuación se te solicitará cierta información.
3. Introduce un nombre para tu bot.
4. Introduce un alias que termine con la palabra **bot**.
5. A continuación el bot creador habrá finalizado la creación. Copia el token que te proporciona en el último mensaje.\
   ![](/files/xF8MWlMRQM509ghUIEft)
6. Si se desea personalizar ciertos aspectos del asistente existen los siguientes comandos:\
   \- `/setname`: Modificar nombre del bot.\
   \- `/setdescription`: Modificar la descripción.\
   \- `/setabouttext`: Modificar la información de la biografía.\
   \- `/setuserpic`: Modificar la imagen.

### Activar integración

1. En el módulo de integración de Telegram introduce el token que copiaste.\
   ![](/files/D7ROIIMvILp1D7krUfR1)
2. Guarda la configuración.
3. ¡Listo!:tada: Realiza pruebas para verificar el funcionamiento de tu asistente en Telegram.&#x20;

## Limitaciones

* No existe ninguna limitación como tal. Se recomienda que el texto de los botones sea corto para evitar que Telegram los recorte por el tamaño del dispositivo del usuario e incluir pocos botones por respuesta para mejorar en la accesibilidad.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.1millionbot.com/es/chatbot/channels/telegram.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
