Guide

Telegram and Discord alerts: how to connect a chat

Your alerts are posted by the TTF bot. You prove the chat is yours with a one-time code. You never make a bot and never give anyone a bot token.

How it works

On the TTF developer dashboard you make alerts (a price crossing your line, a token entering trending, a wallet buying or selling) and pick a destination: where the message goes. A destination can be your own chat with the TTF bot, a Telegram group or channel, a Discord DM or server channel, or your own server.

  • The TTF bot posts every message. In Telegram that is @TTFBotBot; in Discord the TTF bot.
  • You prove the chat is yours with a one-time code from the dashboard: a tap on Allow, a command in the group, or picking the channel in Telegram.
  • TTF never asks for a Telegram bot token, a Discord bot token, a webhook URL, a chat id or a password. You do not create a bot anywhere.
  • No code is needed. The developer account is free; how many destinations and alerts you get depends on the plan (Free has one destination and price alerts).

TTF Bot also has simple price alerts and wallet tracking right inside Telegram (see the FAQ). This guide is about the alerts you build on the dashboard: with filters, many wallets at once, groups, channels and Discord.

Before you start

  1. A free TTF developer account. Sign up at ttf.bot/developers with Telegram, your email or Google. No card.
  2. Your Telegram linked to it (for Telegram destinations). Signed up with Telegram? Then it is linked. If not: dashboard, tab Security, Link Telegram. The connect steps also show the button when it is missing.
  3. Admin rights for a group or channel: you are its creator or an administrator. For a Discord server: owner, Administrator, Manage Server, or a role above the bot's role.
  4. A recent sign-in. Connecting a chat needs a sign-in from the last 10 minutes; the page asks you to sign in again when it is older.

Connect Telegram

In the dashboard open the tab Destinations, pick Telegram, then where the alerts should go.

Your own chat with the bot

  1. Pick My Telegram and press Next, then Open Telegram. Your chat with @TTFBotBot opens; press Start if Telegram shows it.
  2. The bot asks: "Send alerts of your TTF developer account (your masked email) to this chat?" Tap Allow.
  3. The bot answers "Done. Go back to the dashboard and press Create." Back on the page, give it a name, tick the alert types and press Create destination.

A group

Pick A group. The page offers three ways; use one:

  • Add the bot to a group. Telegram asks which group, adds @TTFBotBot and sends your code there for you.
  • The bot is already in the group: copy the command the page shows and send it in the group, from your own account. It looks like this, with your own code instead of the placeholder: /hooklink@TTFBotBot YOUR-ONE-TIME-CODE
  • Pick from my groups. Your chat with the bot opens; tap Choose a group and pick one. Telegram lists only groups the bot is already in and that you manage.

The bot answers in the group: "Linked to a TTF developer account. The owner can finish in the dashboard." The page now shows the group's name, that you are an admin and that the bot can post. Press Continue, name it, tick the alert types and press Create destination.

A channel

  1. Pick A channel and press Open Telegram.
  2. In your chat with the bot tap Choose a channel and pick yours. Telegram lists only channels where you are an administrator who may post, and asks to add the bot as an administrator that can post messages: accept.
  3. Back on the page press Continue, name it and press Create destination.

The one-time code and /hooklink

Every connection starts with a code that the dashboard makes for you. It sits in the Open Telegram link, in the Add the bot to a group link and in the /hooklink command.

  • It works for 10 minutes, once. The page shows a countdown. A used or expired code does nothing: press Restart for a new one.
  • Only you can use it. The bot checks that the Telegram account sending it is the one linked to your TTF account and that it is an admin of the chat. Somebody else in the group who copies it gets nothing.
  • Wrong codes get no answer in a group, so nobody can probe the bot with guesses.
  • The bot deletes the command message in the group when it is allowed to; if it is not, delete it yourself.
  • Send it as yourself. A message sent as the group, as a channel or by an anonymous administrator is refused.
  • Groups with topics: send the command in any topic. Alerts are posted in the General topic.
  • We keep only a fingerprint of the code, never the code itself, and the attempt is gone after 10 minutes.

Connect Discord

Discord destinations are switched on separately from Telegram. If the Discord choice in the dashboard says Not available right now, they are off for the moment: use Telegram meanwhile.

  1. Open the dashboard in a normal web browser (not inside Telegram): Discord sends you back to the same browser.
  2. Tab Destinations, pick Discord, then My DMs or A server channel.
  3. Press Continue with Discord and approve on Discord's own page. TTF reads your Discord name (and, for a channel, your server list) once, then cancels that access: it never keeps it. Check the name and press Yes, that is me.
  4. For a channel: pick the server. A server marked Bot not added has a button to add the TTF bot; add it, come back and check again. Then pick the channel. Only channels where you and the bot may post are listed.
  5. For DMs: Discord lets a bot message you only if you share a server with it and allow DMs from server members.
  6. Name it, tick the alert types and press Create destination.

The bot needs View Channel and Send Messages in that channel, and Embed Links for the card look.

After you connect

  • Test it: press Send a test message. It arrives within a minute, and the page says in plain words if it did not.
  • Make an alert for it: price, trending (with filters), wallets or TTF signals. Trending, wallet and signal alerts need a paid plan or the trial.
  • Change the look: ready-made looks or your own text, buttons that open the token in the bot or on ttf.bot, quiet messages without a sound, and on Discord a card look with a colour.
  • A security message: when a destination is connected, the TTF bot sends you a private message (and an email, if your account has one) with a Disconnect button that works for 24 hours. If you did not do it, press it: it signs your account out everywhere and removes the destination.
  • It keeps checking: before it sends, and every few minutes, TTF checks that you are still an admin and that the bot may still post. If not, the destination stops and the dashboard says why, with a Re-check button.
  • Stop it: Pause on the destination's card stops alerts until Resume; Disconnect removes it and asks whether to delete its alerts or move them to another destination. Removing the bot from the chat stops it too.

Messages never ping anyone, carry a short "via TTF" line, and link only to ttf.bot, the TTF bot and block explorers. An alert older than 15 minutes is dropped instead of sent late.

Troubleshooting

Nothing happens after the command in a group? The code was mistyped, used already or expired: the bot stays silent on purpose. Check that the bot's name in the command is @TTFBotBot, then press Restart in the dashboard and send the new command.

What the bot can answer while you connect, and what to do:

The bot answersWhat to do
This link has expiredThe code is older than 10 minutes, was used already, or was cancelled. Press Restart in the dashboard for a new one.
This link belongs to another account.The Telegram account you used is not the one linked to your TTF account. Use that one, or link this one in the dashboard (tab Security).
Send the command as yourself, not as the group or as an anonymous administrator.In the group's admin settings switch "Remain anonymous" off for yourself, or send it from your own account, not as the channel or the group.
Only an administrator of this chat can connect it. Check your rights and try again.Ask the owner of the chat to make you an administrator, or to connect it from their own TTF account.
Add the TTF bot to this chat first, then try again.Add @TTFBotBot to the group or channel, then send the command again.
The bot may not post here. Give it the right to send messages (in a channel: make it an administrator that can post messages), then try again.In a group, let members (or the bot) send messages. In a channel, make the bot an administrator with "Post messages".
This is not the kind of chat this link connects. Pick another one.You picked a group for a channel link or the other way round. Pick the right chat, or go back and change the choice.
Too many attempts. Wait a minute, then try again.Wait a minute. Nothing is lost.
Too many attempts, so this link is closed. Create a new one in the dashboard.Telegram refused the chat too often for this code. Fix the rights first, then start again in the dashboard.
Linking is paused right now. Try again later.Connecting chats is switched off for a moment. Try again later.

The dashboard's delivery log shows every message and why one did not arrive. The developer docs list every status.

What we ask for, and what we never ask for

We ask forWe never ask for
A sign-in to your free TTF developer account.No Telegram bot token, and no bot made with BotFather.
A tap in Telegram: Allow, the one-time command, or picking the chat.No chat id, invite link or password.
For Discord: your approval on Discord's own page.No Discord bot token and no Discord webhook URL.
Admin rights in the chat, checked with Telegram or Discord.No wallet, private key or seed phrase.

We store what a destination needs: your Telegram numeric id, the chat's id and title, for Discord your user id and name and the server and channel, when your rights were last checked, and the message designs you write. The delivery log keeps the status of each message for 30 days, never its text. The full list is in the Privacy notice, the rules in the Terms.

Anyone who asks you for a bot token, a seed phrase or a payment "to activate TTF alerts" is not us.

Questions

Does TTF need my Telegram bot token?

No. TTF never asks for a bot token. The alerts are posted by the TTF bot, @TTFBotBot. You prove the chat is yours with a one-time code from the dashboard.

What is /hooklink?

The command that connects a Telegram group where the TTF bot already is. The dashboard shows it with your one-time code, for example /hooklink@TTFBotBot YOUR-ONE-TIME-CODE. Send it in the group as yourself; it works once, for 10 minutes, and only for you.

Can someone else in my group use my code?

No. The bot accepts it only from the Telegram account linked to your TTF account, and only if that account is an admin of the group.

Can alerts go to a Telegram channel?

Yes. Pick A channel; Telegram adds the TTF bot as an administrator that can post messages.

Do I need to code?

No. Telegram and Discord destinations are set up on the dashboard. Code is only needed for alerts to your own server (webhooks) and for the data API.

How many chats can I connect?

One destination on the Free plan; paid plans have more. Every chat, Discord channel and server address takes one. See the plans in the developer docs.