> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/5.1.x/integration/channel-connector/telegram-bot/create-telegram-bot.md).

# Create Telegram Bot

This section describes for how to make Bot on the telegram, go to the BotFather (If you open it in desktop, make sure you have the Telegram app), by doing the following steps:

First, Enter the URL address in the web browser <https://web.telegram.org/> or you can use telegram desktop. And then, log in to your telegram account.&#x20;

![Login Telegram](/files/-MSlMsQAnb2H0-Hc0Zx7)

After login telegram account, conduct a search for `@Botfather` and add it to your conversations, or you can directly open the URL [https://telegram.me/botfather](https://telegram.me/botfather?source=post_page---------------------------) to start conversations with BotFather.

![Bot Father](/files/-MSlN_oa3L207cl--sqM)

BotFather will then introduce itself and will display a **START** button at the bottom for the user.

![Introduce Message](/files/-MSlOHi9ixkDtmT-3Ycr)

Once you click on the **START** button, **BotFather** will provide you with all the commands that can be used for creating a new bot.

![Start](/files/-MSlOiI4igt06skIWOYC)

Now, click on the link **/newbot** from your conversation with BotFather. With this command, BotFather will ask you to choose a name for your bot.

![New Bot](/files/-MSlPDuchvFy-tQv8XCm)

For example, choose the name 'PolongBot'. BotFather will internally validate whether the name is available. (the **name** of your Bot is displayed in contact details and elsewhere). If it is available, BotFather asks for a username for the newly created bot.

![Bot Name](/files/-MSlPwYB3sCUE3gMfsdu)

For example, choose the username 'PolongBot' (The **Username** is a short name, to be used in mentions and 'telegram.me' links. Usernames are 5-32 characters long and are case insensitive, but may only include Latin characters, numbers, and underscores. Your bot’s username must end in ‘bot’, Ex: “Testingbot”, “Testbot”, etc).

At this point, BotFather has created your bot and has also provided a token for your bot. This token can be used whilst wiring up your bot with Telegram bot APIs. Keep your token secure and store it safely, it can be used by anyone to control your bot.

![Generate Token](/files/-MSlQfpo3-cuzUhb2PUB)

Check the Bot that has been made, to find out if the Bot has been successful or not by means of private chat to the Bot.  Check in the browser by typing the URL [https://api.telegram.org/bot**Token\_Anda**/getupdates](https://api.telegram.org/botToken_Anda/getupdates). If the results are checked on the browser as shown below, then the Bot is made successful.

![getUpdate Token](/files/-MT3kzhm-p0HG46F1YgE)


---

# 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.3dolphins.ai/5.1.x/integration/channel-connector/telegram-bot/create-telegram-bot.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.
