# Mini APP Telegram Bot

## Создание бота для WEB APP в тг

{% hint style="info" %}
После успешной установки домена и лендинга, создайте Telegram-бота с дрейнером. Для этого воспользуйтесь сервисом [BotFather](https://t.me/BotFather) и выполните команду `/newbot`. Укажите имя бота, связанное с вашим оффером. Выберите @username для бота в соответствии с тематикой вашего оффера. Например, если ваш оффер — Notcoin Airdrop, подберите @username, отражающий эту тематику.
{% endhint %}

После создания бота **`пропишите в`** [**`https://t.me/BotFather`**](https://t.me/BotFather) **`команду /newapp. Выберите бота`**, которого создали.

Затем отправьте описание, например, Notcoin Airdrop.

После этого отправьте фотографию по тематике лендинга размером 640x360 пикселей.

Когда вам предложат загрузить GIF, введите команду `/empty`.

Далее отправьте ссылку на ваш установленный домен, например, [https://domain.com](https://domain.com/).

Затем просто напишите слово "app" и отправьте его боту.

При нажатии на эту ссылку откроется мини-приложение.

<figure><img src="/files/YsCK5X8iX1xAiMQHaQTQ" alt=""><figcaption><p>Пример создание mini app</p></figcaption></figure>

В результате мы получаем mini app с нашим сайтом

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


---

# 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://read.cryptograb.wiki/cryptograb-automatic-affiliate/wiki-cryptograb/nashi-offery/ton-drainer/mini-app-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.
