Skip to content
Try Free →

Connect Telegram

Create a Telegram bot with @BotFather, paste its token into AskVault, and your agent answers anyone who messages the bot, with cited answers from your content. Setup takes a few minutes and Telegram itself charges nothing for bot messages. Growth+

You need no business account and no phone verification. AskVault checks the token, registers its message address with Telegram for you, and your bot starts answering. Each AI reply counts as 1 message against your plan's monthly allowance.

Before you start

  • The Growth plan or above.
  • A Telegram account.
  • Content in your agent. See add your website.

Create the bot and connect it

  1. In Telegram, search for BotFather (the verified account with a blue check) and click Start.
  2. Send /newbot. BotFather asks for a display name (for example "Acme Support") and a username. The username must end in bot, be lowercase, 5 to 32 characters, and be unique on Telegram.
  3. Copy the token BotFather replies with. Treat it like a password: anyone with it controls the bot.
  4. Paste the token into AskVault (see below) and connect.

Open Channels & Apps, then the Channels tab. On the Telegram card, click Connect, paste the bot token and confirm.

AskVault validates the token with Telegram, then registers the webhook for you. You should see "Connected" within a minute. The token is stored encrypted and is never shown in logs or error messages.

Check it worked

Open your bot in Telegram, press Start and ask a question your content answers. The reply arrives in a few seconds. The chat appears in your Inbox alongside your other channels.

Tidy up the bot with BotFather

  • /setdescription sets the text people see before they press Start. /setuserpic sets the avatar (a square image of at least 512 by 512 pixels).
  • Commands. AskVault does not act on Telegram commands. A command such as /start, /help or /human reaches the agent as ordinary text and gets an ordinary answer; /human does not hand the chat to a person. If you add a command menu with /setcommands, keep it to commands where an answer is what people expect, such as start and help. AskVault does not set the command menu for you. To let customers reach a person, switch on the hand-off action.
  • Suggested questions. When your agent has suggested questions saved, AskVault adds up to five of them under a reply as tappable buttons.

Photos, voice messages and files

AskVault answers the text a customer types. It does not open attachments and does not transcribe voice messages.

  • With a caption. The caption is answered like a typed message, and the reply ends with a short note that the attachment itself was not looked at.
  • Without a caption. The customer is asked to send their question as a message. This reply does not use message credits.
  • Stickers and locations get no reply, and neither does a conversation a teammate has taken over.
  • In a group, the bot answers a photo or file only when it has a caption.

Your Inbox shows [image], [file] or [voice message] so you can see something arrived. Attachments are not stored.

Use the bot in a group

  1. Add the bot to the group in Telegram's group settings.
  2. In BotFather, send /setjoingroups and allow group joins.

In a group the bot answers every message it can see, and each reply uses a message credit. What it can see depends on Telegram's privacy mode:

  • Privacy mode enabled (Telegram's default, recommended). The bot sees only messages that @-mention it, reply to one of its messages or start with /. Good for community channels where people ping the bot.
  • Privacy mode disabled. The bot sees and answers every message, including "thanks!" and "good morning". In a busy group that can use your allowance quickly. Change it with /setprivacy only if you want that.

A bot that is a group admin also sees every message, whatever its privacy mode. Telegram channels (broadcast-only) are not supported: AskVault does not receive channel posts. Use a group or direct messages.

Hand a chat to your team

With the hand-off action on, the conversation moves to your Inbox. The customer keeps chatting in Telegram, and your team replies from the Inbox.

If it doesn't work

The bot does not reply. Open the Channels page and check the connection. If it shows as broken, the token may have been revoked. Send /token to BotFather, then reconnect with the new one. Also confirm your agent has content and your allowance is not used up.

The token shows as invalid. It was revoked with /revoke. Get a new one from BotFather and paste it in.

Group members mention the bot and nothing happens. Check the bot is a group member with permission to read and send messages, and that members @-mention it while privacy mode is on.

Webhook conflict, or two tools answer. If you used this bot with another tool before, that tool's webhook is still registered. Disconnect and reconnect the bot in AskVault, which registers its own webhook again. Do not set the webhook by hand: the address and secret are specific to your connection.

A customer blocked the bot. Nothing to do on your side. They must unblock it before it can reply.

Common questions

Can one bot serve two workspaces?

No. One Telegram bot maps to one AskVault workspace.

Can I move a bot from another platform?

Yes. Revoke or remove the old platform's webhook, then paste the same token into AskVault. Existing chats continue.

Is Telegram free?

Telegram charges nothing for bot messages. Your AskVault allowance still counts each AI reply.