Skip to main content
Telegram is optional. Setup does not ask for it, and you can connect it at any time. Telegram has two kinds of bots:
  • The main bot. Your lead agent answers it, and only you can message it. You connect it first.
  • Extra bots. Each one has its own agent and its own list of people who can message it.
For how channels compare, see Talk to your squad from Telegram, Discord, or Slack.

Before you start

  • Have the Telegram app open, signed in to your own account.
  • Get your Telegram user ID. Send any message to @userinfobot on Telegram, and copy the number that it sends back.

Open the Telegram screen

Use one of these paths:
  • Open Integrations, click the Channels tab, and click Telegram.
  • Open Settings and click Telegram under CONNECTIONS.

Connect the main bot

1

Create the bot

In Telegram, open @BotFather and send /newbot.
2

Name the bot

Give the bot a display name, then a username. The username must end in bot.
3

Copy the token

Copy the token that BotFather sends. It looks like 123456789:AA….
4

Paste the token

On the Squad Telegram screen, paste the token into the Paste its token step.
5

Wait for the check

Wait for ✓ Found followed by the bot username. This means Telegram accepted the token.
6

Add your user ID

If the Add your Telegram user ID step shows, type your Telegram user ID.
7

Connect

Click Connect followed by the bot username.
8

Pair the bot

In Telegram, send the bot one message. This pairs the bot with your account.
Your squad restarts, which takes about 10 seconds, and then answers from the bot.
Check your user ID before you click Connect. Squad keeps the first ID that you enter, and the dashboard does not ask for it again.
Keep the bot token secret. Anyone with the token controls the bot.

Check that it works

  • The Main bot card shows Connected.
  • Access shows Locked to your Telegram account.
  • Who can message it shows Just you.
  • Your lead answers when you message the bot. Open in Telegram → opens the bot.

What the main bot does

  • Your lead agent answers it. The main bot card has no Answered by control.
  • Only you can message it. You cannot add other people to it. To share an agent with someone, connect an extra bot.
  • Answer in group chats is off when you first connect. If you turn it on, the bot works in group chats that it is added to, but it still answers only you.
To use a different bot as the main bot:
  1. On the Main bot card, click Switch to a different bot….
  2. Paste the new bot’s token and wait for ✓ Found.
  3. Click Switch to followed by the new bot username.
  4. In Telegram, send the new bot one message to pair again.
The old bot stops responding immediately when you switch.

Add an extra bot

Extra bots run alongside the main bot. Use them to put another agent on Telegram, or to let other people talk to an agent. Before you start: the main bot must be connected. Without it, Squad refuses the extra bot with “Connect your main bot first — this workspace has no Telegram owner yet.”
1

Create the bot

In Telegram, open @BotFather, send /newbot, and copy the new token.
2

Find the More bots card

On the Squad Telegram screen, find the More bots card.
3

Paste the token

Under Put another agent on Telegram, paste the token into Paste its token and connect.
4

Connect

Click Connect bot.
Do not use the main bot’s token. Squad refuses it. The new bot shows on the More bots card with these controls: The card also shows Online or Offline.

Choose who can message an extra bot

  1. Ask the person to send any message to @userinfobot on Telegram and send you the number.
  2. On the bot’s card, under Who can message it, type the number into the field.
  3. Click Add.
To remove a person, click × on their ID. Squad always keeps you on the list. A list can hold up to 50 people, including you. See Limits and defaults.

Create a topic in a group

1

Turn on Topics

Turn on Topics in the Telegram group settings.
2

Add the bot

Add the extra bot to the group.
3

Open Group topics

On the bot’s card, click Group topics.
4

Enter the group and topic

Paste the group’s chat ID, for example -1001234567890, and type a Topic name.
5

Create

Click Create.
The card confirms that the topic was created.

Troubleshooting

The main bot does not answer. Cause: the bot is not paired yet, or the squad is still restarting. Fix: send the bot one message, then wait a short time and try again. Someone cannot message an extra bot. Cause: their ID is not on the bot’s list, or they are in a group and not on the list. Fix: add their Telegram user ID under Who can message it. The Access line shows “No Telegram owner on file. Contact support”. Cause: the workspace has no Telegram user ID for you. Fix: contact support. See Get help.

Messages when you paste a token

Messages when you connect or switch the main bot

Messages on the list and on topics

For messages that all channel screens share, see Messages on every channel screen.