> For the complete documentation index, see [llms.txt](https://docs.boomerangme.cards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boomerangme.cards/mailings-and-other-services/how-to-create-a-telegram-bot.md).

# How to Create a Telegram Bot

**1. Find BotFather**

* Open Telegram and search for **@BotFather** — this is the official bot for creating and managing other bots.

<figure><img src="/files/KgGCpsIrxl7XTy5a9Q1o" alt="" width="440"><figcaption></figcaption></figure>

#### 2. Start the Creation Process

* Send the **/start** command to BotFather.
* Then, use the **/newbot** command to create a new bot.

<figure><img src="/files/hYyEWwZmJjyyAeT59R79" alt="" width="434"><figcaption></figcaption></figure>

#### 3. Choose a Name and Username for the Bot

* BotFather will ask you to provide a **name for your bot**. This name will be visible to users (you can change it later).
* Next, BotFather will ask for a **unique username** for your bot. The username must be unique and end with **bot** (for example, MyCoolBot or Weather\_Bot).

<figure><img src="/files/tEJOSrNjPEXTLu5bgGaF" alt="" width="432"><figcaption></figcaption></figure>

#### 4. Get the Token

* Once the bot is created, BotFather will give you an **API token**. This token is used to connect your bot to code and manage it via the Telegram API. Be sure to save it.

<figure><img src="/files/9HXfkaRkLLnVL89LqCRt" alt="" width="431"><figcaption></figcaption></figure>

#### 5. Connect the Bot

* Use this token to connect your bot to app.

<figure><img src="/files/m58BuQjVAmgXifLwfYE0" alt=""><figcaption></figcaption></figure>


---

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

```
GET https://docs.boomerangme.cards/mailings-and-other-services/how-to-create-a-telegram-bot.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.
