Skip to Content
AsideHelp Center

Help Center

Create a Telegram bot

Create a bot with BotFather and connect it to Aside.

Telegram has the shortest setup of the three platforms. One chat with BotFather produces the single token Aside needs.

Before you start

  • You need a Telegram account.
  • Aside must be running on your device for the bot to respond.

Create the bot

  1. Open t.me/BotFather or search @BotFather in Telegram.
  2. Send /newbot.
  3. Choose a display name, then an unpredictable username ending in bot. Use A followed by 20 cryptographically random digits and uppercase letters, then B_bot; do not include personal or project information.
  4. Copy the token from BotFather's confirmation message. It looks like 123456789:AAExampleBotToken.
  5. In BotFather, open /mybots, select the bot, and open Bot Settings.
  6. Enable Allow Groups? so the bot can be added to group chats.
  7. Open Group Privacy and choose Turn off so Aside receives group messages.

If the bot was already in a group when you changed Group Privacy, remove and add it again before testing.

Connect it to Aside

In Settings > Channels, choose Telegram, pick Manual, and paste the token. The connection shows as connected on the Channels page within a few seconds.

Test it

Open a chat with your bot and send a message. New connections default to Only me. Aside-created connections pair the setup account when Telegram exposes its user ID; otherwise, approve your own request in the connection's Pairing tab. To allow additional people, explicitly change access to Paired people only first.

In groups, add the bot as a member and mention it by username. A forum topic becomes active on its first mention; later messages in that topic continue the same conversation without another mention. Turning off Require mentions in threads lets the first unmentioned topic message activate it instead, while non-topic group messages still require a mention. Earlier messages from paired people in the same group or topic are supplied as context when it activates. Forum topics map to separate Aside conversations, while direct messages always reach the bot.

Troubleshooting

SymptomLikely cause
Bot ignores group messagesPrivacy mode still enabled; send /setprivacy to BotFather and disable it
MISSING_PERMISSION statusGroup joins are disabled or Privacy Mode is enabled; fix the same bot in BotFather, then restart the connection
401 Unauthorized errorsToken revoked or regenerated in BotFather; paste the new token into the connection settings
Bot replies in DM but not in a groupMessage sent without mentioning the bot