- 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.
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.
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.
- On the Main bot card, click Switch to a different bot….
- Paste the new bot’s token and wait for ✓ Found.
- Click Switch to followed by the new bot username.
- In Telegram, send the new bot one message to pair again.
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.
The card also shows Online or Offline.
Choose who can message an extra bot
- Ask the person to send any message to @userinfobot on Telegram and send you the number.
- On the bot’s card, under Who can message it, type the number into the field.
- Click Add.
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.
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.