Blog ·

Read and answer customer texts from Telegram

Connect your own Telegram bot to Simline. New texts land in a chat or group, a reply goes back as SMS from the right SIM with live status, and agent texts get Approve and Deny buttons.

  • Telegram
  • Small business
  • Approvals

A lot of small businesses already live in Telegram: the owner, the person at the counter, maybe a partner, in one group where things get decided. Simline can put your customers’ texts in that group. Someone replies in Telegram, and the customer gets a normal SMS from your number.

This post walks through creating the bot, linking a chat or group, replying, the commands, approving AI agent texts with a tap, and the privacy settings.

How we checked it: on 28 November 2026 we ran the Telegram test suite in Simline’s code, which drives the real API against a fake Telegram Bot API server, and read the bot’s message formats in the source. We didn’t use a live Telegram bot for this post, so treat the exact wording of bot messages as close but not guaranteed.

How it works

Each Simline workspace connects its own Telegram bot. There’s no shared “Simline bot” holding everyone’s messages; the bot belongs to you, and you can revoke it in Telegram at any time.

  • New texts to your phones are posted to the chats you link.
  • Replying to one of those posts sends an SMS from the same phone and SIM that received the text.
  • Texts your AI agents want to send can arrive with Approve and Deny buttons.
  • Optional alerts tell you when a phone goes offline.

Step 1: create a bot with @BotFather

  1. In Telegram, open @BotFather and send /newbot.
  2. Give it a name people will recognise, like “Okafor Bakery texts”, and a username that ends in bot.
  3. BotFather sends back a token that looks like 123456789:AAE…. Copy it.

The token is the bot’s password. Simline stores it encrypted and never shows it again; the dashboard only shows the bot’s @username.

Step 2: connect it in Simline

In the dashboard, open Integrations → Telegram, paste the token and press Connect bot. Only workspace owners can do this. Simline checks the token with Telegram and points the bot’s updates at your workspace. One bot can serve one workspace.

If you ever regenerate the token in BotFather (/token), paste the new one with Replace token. Linked chats stay linked as long as it’s the same bot.

Press Link a chat. You get a link and a QR code; each link works once, for 15 minutes.

  • Just you, or one colleague: open the link (or scan the QR with a phone) and tap Start in Telegram.
  • A group: add the bot to the group, then send the command the dashboard shows, /link <code>, in the group.

The bot answers “Linked to” your workspace’s name. Anyone else who should see texts gets their own link.

Leave the bot’s privacy mode on. It’s the default in BotFather (/setprivacy → Enable). In groups the bot then only receives commands and replies to its own messages, which is all Simline needs. It doesn’t see the rest of the group’s conversation.

What a new text looks like

Each incoming text is posted like this:

+1 212 555 0142 → Shop

Hi! Do you have gluten-free bread on Saturday?

10:42 · Reply to this message to answer by SMS

The arrow shows which SIM got it, by the label you gave it in the dashboard. That’s why it’s worth naming your SIMs if your phone has two. Times are in your workspace’s time zone.

If someone texts STOP, the post says so (“They texted STOP and won’t get texts from you until they text START”) and doesn’t invite a reply.

Reply, and watch it go

Use Telegram’s Reply on the post and type your answer. Simline sends it as an SMS from the same phone and SIM that received the customer’s text, and the bot answers with a status message that it edits as the text moves:

Sending… → Sent ✓ → Delivered ✓✓

If something goes wrong you see Failed · reason, using the same words as the dashboard (“No signal”, “Carrier error”, “SIM sending off”). If Simline refuses before the text reaches a phone, for example because the person texted STOP or your plan’s texts are used up, you get Not sent · reason instead.

Texts sent from Telegram follow the same rules as everything else: opt-outs, daily and plan limits, and SIM settings. They’re recorded as sent by the person who connected the bot.

Commands

Command What it does
Reply to a forwarded text SMS to that contact, from the phone and SIM that received it
/send +15555550142 Your order is ready Texts someone new, from your default sender. Write the number without spaces.
/status Which phones are online, or since when they’ve been offline, with their SIMs
/help The list of commands
/unlink Stops texts in that chat

In groups, Telegram may add the bot’s name to a command (/status@OkaforBakeryBot); that works too.

Approve AI agent texts with a tap

If you let AI agents text people from your number, the safest setting is to approve their texts first. With Agent approvals turned on, each held text is posted with the agent’s name, the recipient, the text and why it was held, plus three buttons: Approve, Deny and Edit in dashboard.

Whoever taps first decides. The post is then edited in every linked chat to say what happened, like “Approved by Maya Okafor in Telegram · sent”, so nobody approves twice. Decisions made in the dashboard show up the same way. Requests expire after an hour.

Texts proposed by the AI auto-responder in approve-first mode arrive here as well, within about a minute. Agents and their policies are covered in their own post.

Alerts

Off by default, each can be turned on separately:

  • A phone is offline: after 10 minutes without a connection, and again when it’s back.
  • A webhook was turned off: when an endpoint has failed for 3 days and Simline stops sending to it.
  • Daily limit almost reached: when 80% of today’s texts are used.

Privacy settings

Telegram is a third party. Anything the bot posts is stored by Telegram, so decide what goes there:

  • New texts: forward incoming texts at all, or not.
  • Include message text: off means chats only see that a text arrived, from whom and on which SIM. People open Simline to read it.
  • Agent approvals: whether held texts are posted with buttons.

The token is encrypted at rest, the webhook Telegram calls is checked with a secret, and chats that aren’t linked can’t do anything except link with a valid code. Removing a chat in the dashboard tells the chat and cuts it off. Disconnect turns the bot off for Simline and forgets it and its linked chats.

What it can’t do

  • Show texts from before you paired the phone. Simline only sees what arrives after.
  • Send photos or voice notes as MMS. Replies are text.
  • Tell group members apart for permissions. Everyone in a linked chat can reply, send and approve. Link only chats you trust.
  • Use a shared bot. You create and own the bot; that’s deliberate.

If your team is more at home in code than in chat, webhooks give you the same events with signatures and retries.

FAQ

Do I need to write code to use the Telegram integration?
No. You create a bot with @BotFather, paste its token into Simline under Integrations → Telegram, and link a chat with a one-time link or code.
Which number does a reply from Telegram come from?
The phone and SIM that received the text you're replying to. A new text sent with /send goes out from your default sender.
Can I keep message text out of Telegram?
Yes. Turn off "Include message text" and chats only see that a text arrived, from whom and on which SIM. You then read it in Simline.
Who can reply or approve from a linked group?
Anyone in the group. Link only chats whose members you trust, and remove a chat in the dashboard to cut it off.