# Telegram sniping setup

## Guide how to run telegram

1. **Add your Telegram account** in the account section .
2. **Create a "Telegram Scraper Tool" task.**
3. **Select your Telegram account and input the channel IDs** you want to parse (for all tasks).<br>

   * Channels should be separated by commas and each channel ID should be preceded by a hyphen.
   * **Example:** `-1001135818819,-1001506059755,-1001506059755`

   This task will parse every message that appears on the account, filter messages from the channels you entered, and then send them to the tasks you run (Bonding Sniper and Raydium Sniper).
4. Input numbers separated by comma in **API Ports field**. 1 port = 1 task that you use for telegram calls snipe.\
   \
   **Field value Example:** `11,333,234,677` ( numbers can be what ever you want ) **How it works:** Imagine that you need 3 tasks. 2 Bonding sniper tasks and 1 raydium sniper tasks with telegram parse. In every task you want to specify different channels to parse with different settings. You input all channels that you need in **Telegram scrapper** task in **Chat whitelist field**. For each task you will need a port, so input 3 ports in **API port field**, for example: `11,22,33`. **Numbers can be random**, they only connect yout Telegram scrapper task with usual task. **1 task = 1 API port.** You will need this ports later in this 3 tasks.
5. **Create a Pump Fun Bonding Sniper, Raydium Sniper, or both** and fill in the buy, sell, and other settings.
6. **Open the Scrapers section.**
7. **Enable the API Calls toggle.**

You then have two options:\
1\) **Enter a channel ID:** The Telegram scraper will buy tokens only from this channel (this channel must be included in the Telegram Scraper task).\
2\) **Leave the "chat whitelist" field empty:** The Telegram scraper will send every message from every channel specified in the **Telegram Scraper** task.

7. **Enter One of the port that you input in API Port field.** For example above you should write there `11` or `22` or `33`. By entering port you connect task to Telegram Scrapper task to have abilty to run multiple channels at one time.
8. **Start the Telegram Scraper Tool task.**
9. **Log in to your Telegram account** (using your phone number with the country code, the code that Telegram sends directly in the app, and your account password).
10. **Start the Bonding/Raydium Sniper tasks.**

If you have any questions, please open a ticket.
