# Telegram

## Set up

To set up the integration of your assistant in Telegram, you will need the following:

* A Telegram account.

### Create a bot

1. Start a conversation with the creator bot [BotFather](https://t.me/BotFather).
2. Enter the command `/newbot`  and you will then be prompted for some information.
3. Enter a name for your bot.
4. Enter an alias that ends with the word **bot**.
5. Then the creator bot will have finished the creation. Copy the token provided to you in the last message.\
   ![](/files/xF8MWlMRQM509ghUIEft)
6. If you want to customize certain aspects of the virtual assistant, there are the following commands:\
   \- `/setname`: Rename bot.\
   \- `/setdescription`: Modify the description.\
   \- `/setabouttext`: Modify biography information.\
   \- `/setuserpic`: Modify the image.

### Activate integration

1. In the Telegram integration module, enter the token you copied.\
   ![](/files/D7ROIIMvILp1D7krUfR1)
2. Save the settings.
3. Done!:tada: Run tests to verify the operation of your assistant in Telegram.

## Limitations

* There is no limitation as such. It is recommended that the text of the buttons be short to avoid Telegram cropping them due to the size of the user's device and include few buttons per response to improve accessibility.


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
