# ✈️ Telegram

With the **Telegram Scraper** functionality in the NFD Trading Bot, you can automatically purchase tokens the moment contract addresses appear in the Telegram channels you monitor. This feature works with both public and private groups you have access to, executing trades instantly, based on your settings without requiring you to constantly check multiple Telegram sources

IMPORTANT: Tracking tasks reset every 7 days. After 7 days, your tasks will be deleted, and you'll need to create them again

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2FXtBy8uVDoYJ7nuGYrEqA%2FScreenshot_645.png?alt=media&#x26;token=99d63ce0-94ad-4f77-92bd-14689e1d8b82" alt="" width="407"><figcaption></figcaption></figure>

Start setting up the task by creating a **Name** for it, setting **Max Traded Tokens** amount (if it's left unchanged, the bot will buy an unlimited amount of tokens), specifying the **Buy** **Amount** per trade, adjusting **Gas** **Price,** setting up the maximum **Slippage** tolerance and turning on **MEV** **Protection**, if needed

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2FRPz5akQEpRgF5t9G7ZFa%2FScreenshot_639.png?alt=media&#x26;token=68027c61-01df-442d-8a1f-0e52f23b5599" alt="" width="404"><figcaption></figcaption></figure>

If you want to track a **public** channel or chat, simply add it's handle or ID

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2Fv9fZs0O89HcH9QRyA5LY%2FScreenshot_646.png?alt=media&#x26;token=09597929-0c54-4bca-8b8b-ab0e71b239da" alt="" width="409"><figcaption></figcaption></figure>

If you want to buy tokens, posted by everyone, who can write in the channel/chat you've added, leave the "**Profiles**" button as it is. If you want to specify users, which you want to track within the framework of the chosen channel/chat, click on the "**Profiles**" button and add their handles

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2F8jek8sJTUmKrtTtVPlnZ%2FScreenshot_651.png?alt=media&#x26;token=76124d9f-a9a2-4f29-968b-eec2b2843ca9" alt="" width="457"><figcaption></figcaption></figure>

If you want to buy tokens whose contracts are published in a **private channel/chat,** you need to give the bot an access to the account that is a member of this private channel or chat. The process of adding your account is described in the [**Accounts**](https://nfd-gg.gitbook.io/nfd-trading-bot/settings/accounts) chapter.&#x20;

*Important notice: we do not recommend using your primary account for this feature, by this action you give a full access to your account. Also there is always a risk that Telegram may interpret the bot's actions as suspicious and ban your account for unusual activity.*

Private chats/channels do not have a username, so you need to add them using their **ID**.

To find the ID of a private chat/channel, follow these steps (available on desktop):

1. Go to Settings → Advanced Settings → Experimental Features.
2. Enable the switch "Show Peer IDs in Profile".

After that, when you open the profile of the private chat/channel, you will see the ID.

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2F6Lb5AwzsJ9Do4qlQP1Ml%2FScreenshot_652.png?alt=media&#x26;token=ae17c6f0-ed65-4e28-8f4c-5728b58298b8" alt="" width="349"><figcaption></figcaption></figure>

There's an option to set the allowable values of token's market capitalization: "**Min MCap**" and "**Max MCap**". You can also set up **Limit** **Orders**, which will be applied to the tokens, bought within the framework of the task. To do so, follow the instruction, described in the [Limit Order](https://nfd-gg.gitbook.io/nfd-trading-bot/limit-order) section

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2F6fgP5oTHHb4vl0GyobIA%2FScreenshot_642.png?alt=media&#x26;token=90253224-d954-48e2-8eaa-0904c4d264d9" alt="" width="404"><figcaption></figcaption></figure>

Once everything is set up, turn the "**Active**" button on. You can **Duplicate** **Task**, if you wish to create a similar one for a different Telegram channel/chat

<figure><img src="https://3960986732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBixfjDLf4ciw8j4uRHW4%2Fuploads%2F3CnI9Vu0OKIo4mm6b0Ap%2FScreenshot_644.png?alt=media&#x26;token=8d0d230b-ba4b-4aaf-9882-df768cd20ce7" alt="" width="402"><figcaption></figcaption></figure>
