> For the complete documentation index, see [llms.txt](https://read.cryptograb.wiki/cryptograb-automatic-affiliate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://read.cryptograb.wiki/cryptograb-automatic-affiliate/cryptograb-affiliate/wiki-cryptograb/nashi-offery/ton-drainer/mini-app-telegram-bot.md).

# Mini APP Telegram Bot

It's quite simple. First, follow the steps outlined in the main section, but set up the landing page marked with the hashtag #Miniapp in the design channel.

**Creating a Bot for a WEB APP in Telegram:**

1. After successfully setting up the domain and landing page, create a Telegram bot with the drainer. Use the service and execute the command /newbot.
2. Specify a bot name related to your offer. Choose a @username for the bot that aligns with the theme of your offer. For example, if your offer is Notcoin Airdrop, select a @username that reflects this theme.
3. After creating the bot, enter the command /newapp. Select the bot you created.
4. Then send a description, for example, Notcoin Airdrop.
5. Next, send a thematic landing photo sized 640x360 pixels.
6. When prompted to upload a GIF, enter the command /empty.
7. Then, send the link to your installed domain, for example, .
8. Finally, just type the word "app" and send it to the bot.

When you click on this link, a mini-application will open.

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

As a result, we get a mini app with our website on it

<figure><img src="/files/KOiKFODTG0NaRkxeKOCn" 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, and the optional `goal` query parameter:

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