Skip to documentation

Telegram

Link the bot in Telegram Business

Add the Secretary-enabled bot to the correct personal Telegram profile and define the private-chat scope it may handle.

Open Telegram setup guide
On this page

Overview

After Secretary Mode is enabled in BotFather, the Telegram account owner links the bot from Settings → Telegram Business → Chatbots. This establishes the business-profile relationship that Telestars later discovers.

  • Link the exact bot to the intended Telegram profile.
  • Select the correct private-chat scope.
  • Avoid accidental exclusions that prevent fan conversations.
  • Prepare Telegram to emit the business connection.

Before you start

  • Access to the official @BotFather bot and the Telegram account that owns the bot.
  • A Telegram Business profile where the bot should handle private conversations.
  • Permission to add and manage bots in the Telestars workspace.

Step by step

  1. Open Telegram Settings on the personal account that owns the Business profile.
  2. Open Telegram Business, scroll to Chatbots, and choose the option to add a chatbot.
  3. Search for the exact @username displayed in My Bots and select it.
  4. Choose All private chats except as the scope used by the Telestars onboarding path.
  5. Leave the exclusion list empty so no intended private chat is silently skipped.
  6. Continue to permissions, save the link, and return to Telestars for connection discovery or verification.

How it works

These are the product rules and states that matter for this workflow.

What to knowTelestars behavior
Profile ownershipThe link is configured from the personal Telegram account whose private conversations the bot will handle.
Chat scopeThe current Telestars onboarding path uses all private chats with no exclusions.
Discovery timingLinking the chatbot may not immediately reveal the business_connection_id to Telestars; Telegram can send it on a later event or first message.
Separate permissionsSelecting the bot and granting its capabilities are separate parts of the Telegram Business setup.

Verify the result

  • Telegram Business → Chatbots lists the correct @username.
  • The configured scope includes all intended private chats and has no accidental exclusion.
  • The Telestars bot card enters Connected or Pending discovery rather than a token error state.

Troubleshooting

If you see thisWhat to check
The bot does not appear in searchVerify its exact username and confirm Secretary Mode is on in BotFather for that bot.
Some conversations never reach the botReview the chatbot scope and remove unintended users or groups from the exclusion list.
Telestars still shows PendingFinish permissions and send a fresh private message from another Telegram account to trigger discovery.

Best practice

Use one clearly named BotFather bot per intended profile, keep tokens private, and verify every connection with a real message from a second account.

You’re ready

You now know how to link the bot in telegram business

Use the verification checklist above on the real Telegram path before considering the setup complete.

Next: Grant Secretary Mode permissions

Did this article answer your question?

Your feedback helps us make Telestars easier to use.