# Telegram Scraper

## Setup Instructions

1. Download the Banana Gun TG Scraper from [here.](https://www.mediafire.com/file/reet1m1blbg93f4/BananaGunTgScraperV1.06.rar/file) If its in a zip/rar then extract it to your documents folder or desktop and you can launch it by executing BananaGunTGScraper.exe.
2. Go to <https://my.telegram.org>
3. Enter your phone number, make sure its the phone number connected with the telegram account you use Banana Gun with else the scraper will not work.
4. Click next and the site will request an access code which you will have received in a message from the official telegram account to your telegram. Use it to login
5. After you have logged in, select API Development Tool
6. Fill out the form:
   * App Title: \<Anything can go here>
   * Short Name: \<Anything can go here>
   * URL: <https://my.telegram.org>
   * Platform: Desktop
7. Select Create Application, you will now be given an Api Id and an Api Hash, keep these hidden and do not share with anyone.
8. Launch the scraper, you will see four fields, Api Key, Api Hash, Phone Number and Password.
   * Enter your api key and hash in their respective fields.
   * Enter the phone number associated with your telegram account
   * If you set up a password upon creating your telegram account then enter it in that field, otherwise you can leave the field blank.
   * Click Login.
9. You will receive a message from the official telegram account with an access code to login, enter that in the next page to continue.
10. You are now logged in, and ready to start scraping telegram channels.


---

# 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.bananagun.io/resources/telegram-scraper.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.
