"Put an LLM on our Telegram" sounds like one project. In practice it is one of two very different architectures, and the choice decides who can start the conversation, how the chat looks to the customer, and what breaks under load. This guide compares them for sales use: qualification, objection handling, booking, and handing off to a human.
Architecture 1: Bot API
You create a bot via @BotFather, receive updates through a webhook or getUpdates, and reply via sendMessage. Your LLM sits between the update and the reply.
How a conversation starts. A bot can't message anyone first. A user has to press Start, open a deep link like t.me/yourbot?start=pricing_page, or interact in a group where the bot is present. The start payload is useful: it tells you which ad, page, or QR code brought the lead in.
Strengths:
- No spam-limit risk to a personal account. The bot's own limits are documented, roughly 30 messages/second across chats and about 1 message/second per chat.
- Inline keyboards, payments, Mini Apps, and structured buttons for booking flows.
- Clear identity. Users know they're talking to a bot.
Weaknesses:
- Inbound only. Useless for reaching prospects who haven't contacted you.
- Some users won't press Start on an unfamiliar bot.
A variant worth knowing: Telegram Business (a Premium feature) lets you connect a bot to a personal account. The bot can then answer private chats on that account's behalf through a business connection. It still responds to inbound chats only, but the customer sees a person's profile instead of a bot.
Architecture 2: Account-Based Auto-Replies (MTProto)
Here the agent runs a real user session through the MTProto API, for example with Telethon or Pyrogram. It reads incoming private messages and replies as that account.
How a conversation starts. Either way. It can answer inbound DMs, or it can continue conversations that your outreach campaign opened.
Strengths:
- Works where outreach generates the conversations. The AI qualifies replies so the sales team only sees warm leads.
- Reads naturally: no bot badge, no Start button.
- Can manage many accounts' inboxes from one place.
Weaknesses:
- The account is subject to user-level spam controls (
PEER_FLOOD,FLOOD_WAIT_X, spam reports). A bad agent that pushes too hard gets the account restricted. - No buttons or payments UI. Everything is text.
- Disclosure obligations matter more because the account looks human. See below.
Side-by-Side
| Criterion | Bot API | Account-based (MTProto) |
|---|---|---|
| Who starts the chat | User only | Either side |
| Looks like | Bot (badge, Start button) | Personal account |
| Rich UI (buttons, payments) | Yes | No |
| Spam-limit risk | Low | Real; needs pacing |
| Best for | Inbound leads from ads, site, QR | Replies to outreach, multi-account inboxes |
| Setup effort | Low | Moderate (sessions, proxies, account health) |
| Audit trail | Easy: you control every update | Possible, but you must build it |
Human Handoff
Both architectures need explicit escalation rules. A workable set:
- Triggers: the customer asks for a human, mentions a price above a threshold, raises a complaint, or the model's confidence drops (e.g. it asks a clarifying question twice).
- On trigger, stop the AI for that conversation. This is a hard flag, not a prompt instruction. Notify a person with the transcript and a one-line summary.
- Ownership: while a human owns the chat, the agent never replies. This is the most common failure: the AI keeps answering on top of the salesperson.
- Return path: the human can hand the chat back to the AI explicitly.
Latency
LLM responses typically take 1–6 seconds depending on model and context length. Two practical rules:
- Send a typing action (
sendChatActionin Bot API,messages.setTypingin MTProto) while generating. Silence reads as broken. - On account-based setups, a 300ms reply to a long message looks automated. A short, natural delay before typing reads better. For a sales chat, that matters more than raw speed.
Keep context tight: product facts, pricing rules, and the last 10–20 messages. Long contexts slow responses and raise cost without improving answers much.
Compliance and Disclosure
The EU AI Act's transparency obligations (Article 50) apply from August 2026. Systems that interact with people must, in general, inform them that they're talking to an AI, unless it's obvious. On a bot, that's arguably obvious. On a personal-looking account it isn't, so add a disclosure line in the first AI-generated reply. Some US states have similar bot-disclosure rules for sales contexts.
When TeleTraff Is Not the Right Fit
If you work in a regulated industry (finance, healthcare, insurance), you likely need audited, immutable conversation logs and approved-script controls. A Bot API bot connected to your existing compliance stack is the safer base. If inbound volume is low, say under a few dozen conversations a week, a human answers better and costs less than maintaining an agent.
Account-based AI replies fit best when outreach or multiple accounts generate more conversations than your team can qualify. TeleTraff's neurochatting module covers that case from a web panel, with AI replies on account inboxes and handoff to operators.
