Connect your Telegram bot

Make your own bot in Telegram and link it to your server. It takes a few minutes and needs no coding.

Before you start

  • You have a server that is ready (how to get one).
  • You have the Telegram app on your phone or computer.
  • In your dashboard, open AI models & Telegram and go to the Telegram part.

The steps

  1. Step 1: Make the bot in BotFather

    In Telegram, search for @BotFather (it has a blue tick), open it, press Start and send /newbot.

    Send a name, for example Aina Assistant. Then send a username that ends in bot, for example aina_helper_bot. If it is taken, try another one.

    BotFather answers “Done!” with a token like 123456789:AAH…. Copy it.

  2. Step 2: Paste the token in your dashboard

    Paste it into Bot token and press Check bot. If you see + Add a bot, open that first. Never paste the token in a chat.

  3. Step 3: Open your new bot and press Start

    Search for your bot's username, open it and press Start. A bot can only message you after that.

  4. Step 4: Get your Telegram ID

    Open @userinfobot, press Start and copy the number after Id.

  5. Step 5: Paste your ID and test

    Paste the number into Your personal Telegram ID and press Send test message. Nothing arrived? Check that you pressed Start and that the ID is right.

  6. Step 6: Save and apply

    Press Save Telegram (or Save), then Apply & restart at the bottom of the page. Your server restarts, which takes 1 to 5 minutes.

  7. Step 7: Say hi

    Send your bot a message. If it doesn't answer yet, wait a minute and send it again.

@BotFather

Add other people

Where your dashboard shows People, more than one person can chat with your assistant. How many depends on your package.

  • Ask the person to message @userinfobot. It answers with their ID (numbers only).
  • Press Add a person, add that ID, choose Owner or Member and the bots they may use, then press Apply & restart.
  • They open your bot and press Start. The bot doesn't answer anyone who isn't in your list, and there is no invite link.
  • A Member can chat only. An Owner can also restart, rebuild, change the model and buy.

Before you add someone

  • Everyone shares that server: its files, its memory, its AI tokens and the accounts you connected to it.
  • Each Member has their own chat, but it is not a wall: someone who asks the assistant to look around the server can still find what others wrote.
  • Add only people you trust. For anybody else, use a separate server.

Keep the bot token secret

  • The token is like a password: anyone who has it can control your bot. We store it encrypted.
  • Shared it by mistake? Send /revoke to @BotFather, pick your bot, paste the new token in your dashboard, save, then press Apply & restart.
  • We never ask for your token in a chat.

The bot doesn't answer?

  • Wait for the restart to finish (up to 5 minutes), then send your message again.
  • Check that you pressed Start in the bot and that your own ID is saved.
  • Open AI models & Telegram and press Apply & restart again. Still nothing? Contact us.