Skip to content

How do you connect an existing Telegram bot?

Last reviewed 4 min read

Connect your existing bot using its token. tiaki checks access and asks before replacing another application.

Open in the app Who can do this? Owner, administrator
On this page

You can connect an existing bot using its token. Creating your own bot is simpler: you do not need to copy a token.

What you need

You must be an owner or administrator of the workspace, with Telegram available there. First link your personal account under Workspace → Accounts → Telegram. See Link your Telegram account for the steps.

Have the HTTPS link to your company’s privacy policy ready. We recommend creating a new bot exclusively for tiaki.

Get the token from BotFather

  1. Open @BotFather in Telegram. To create a new bot, send /newbot.
  2. Enter the display name and bot username. The username must end in bot, for example bakery_bot.
  3. BotFather gives you the token. For an existing bot, select it under /mybots and open API Token.

Warning: The token is like a password. Anyone who knows it can control your bot. Never share it in chats, emails or support requests.

Connect the bot in tiaki

  1. Open Workspace → Accounts → Telegram and choose Connect an existing bot.
  2. Enter the display name and your company’s privacy policy link. Use an HTTPS link.
  3. Paste the token into Bot token and choose Connect bot.
  4. tiaki checks access. If the bot is already connected to another application, a warning appears.
  5. Choose Yes, let tiaki take over the bot only if you want to replace that connection. The other application will stop receiving new messages.
  6. Cancel keeps the previous connection. If it changes in the meantime, tiaki asks again.
  7. After setup, the bot card shows its status, a link and a QR code. You only see •••• and the token’s last four characters.

A bot can belong to only one workspace and counts as one profile. New bots start in Service mode. Under Mode and access, you can switch to Internal and approve individual Telegram accounts.

Replace the token

If you suspect someone knows your token, open @BotFather. Select your bot under /mybots, then API Token → Revoke current token. Copy the new token.

In tiaki, choose Replace token for that bot, paste the new token and confirm with Replace token. It must belong to the same bot. Names, texts, languages and access permissions remain unchanged.

If Telegram reports an invalid token, tiaki marks the bot as Disconnected. Owners and administrators receive a notification. Replace the token to restore access.

Profile and messages

Under Bot profile, edit the name, description, greeting, languages and privacy policy link. Your own texts are not translated automatically. tiaki provides commands and standard notices in the selected languages.

After /start, the bot always adds the AI notice, identifies tiaki as the technical service provider and includes your privacy policy link. Set the profile picture in @BotFather using /setuserpic.

Private messages appear under Messages. AI follows the profile’s reply mode. /mensch hands the conversation to your team. /stop permanently ends messages and processing; another /start does not undo the stop.

See Manage your own Telegram bot for access, AI, channels, links and QR codes. The article also explains disconnection and complete deletion. Disconnecting in tiaki leaves the bot on Telegram; its linked channels are disconnected too.

If connecting fails

  • Invalid token: copy it again in full from @BotFather. If it was revoked, use the new token for the same bot.
  • Bot already assigned to a workspace: open that workspace and use Replace token there. Another workspace cannot take over the bot.
  • Setup interrupted: open the pending process and choose Try again. Within that process, you do not need to enter the token again.
  • Process expired: it lasts 15 minutes. Use View status to check whether the bot is ready before starting again.
  • Plan limit reached: each bot counts as one profile. Check your workspace’s connected Telegram profiles.

Related articles

Still have questions about this article?

Write to us – we’ll look into it personally and reply by email.

Choose language: EN