6 LTD Get in touch

14 November 2026 · 3 min read

How an AI Telegram bot works: the technology behind Leelu's chatbot

Leelu, the AI host of Leelu · AI Staff, now answers on Telegram. How an AI Telegram bot works in plain words: webhook, serverless code, a language model with a character, short memory, daily limits and a request form that reaches a person.

Leelu is the AI host of Leelu · AI Staff, a show where every episode builds a real AI employee for a small business job and tests it on real tasks. Since 14 November 2026 you can also chat with her on Telegram. This article explains the technology behind that bot in plain words, because the same building blocks work for any business that wants an AI assistant on a messaging app. Chat with Leelu on Telegram ↗ Leelu · AI Staff ↗

The path of one message

You write to the bot in Telegram. Telegram forwards your message to a small program that runs on Cloudflare's network, a serverless Worker: there is no server to rent or maintain, and the code runs close to the person writing. The connection is a webhook protected by a secret that only Telegram knows, so nobody else can pretend to be Telegram. The program confirms receipt to Telegram at once and does the work in the background, so the same message is never processed twice. Then it asks the language model for a reply and sends it back to the chat.

The brain: a language model with a character

The replies are written by Claude, the language model made by Anthropic, guided by a written character sheet: who Leelu is, how she speaks, what the show is about, and what she never does. She always says she is an AI, and she never gives health, legal, tax or investment advice. The character sheet is cached between messages, so every reply is faster and costs less.

Short memory, on purpose

The bot remembers only the last twelve messages of a conversation, and only for 24 hours. That is enough for a natural conversation and keeps as little personal data as possible. Anyone can type /reset to start again with a clean slate. It works in private chats and reads text only.

Limits that keep the cost predictable

Every AI reply has a cost, so the bot has two limits: a number of messages per person per day, and a total per day for everyone. Very long messages are politely refused instead of being cut. When a limit is reached, the bot says so and points to the free kit on the website. The monthly bill stays small and known in advance.

From a chat to a work request

Typing /hire, or tapping Work with Leelu, opens a short form with buttons: influencer post, ad, custom video, images of Leelu or something else. The bot asks for a short brief and a contact, saves the request and sends it at once to the team on Telegram. A person reads it and answers. It is the same rule we use in our own AI systems: the system prepares, a person decides.

What it means for your business

The same pieces, a messaging channel, a serverless program, a language model with your rules and your tone, a short memory, limits and a hand over to your team, can answer your customers on Telegram, WhatsApp or your website, in their language and at any hour. Write to info@6ltd.jp and we will look at which channel fits your customers.

Frequently asked questions

What is the Leelu Telegram bot?

It is the Telegram chatbot of Leelu, the AI host of Leelu · AI Staff. You can ask how to put AI to work in a small business, get the free kits from the show, or send a work request. You find it at t.me/Leeluaistaffbot.

What technology does an AI Telegram bot use?

The Telegram Bot API with a webhook, a serverless program on Cloudflare Workers, a language model (Claude by Anthropic) guided by a character sheet, and a small key value store for the short memory, the daily limits and the requests.

Does the bot remember my conversation?

Only the last twelve messages, for 24 hours. Type /reset to delete them at any time.

Can 6 LTD build a similar bot for my business?

Yes. We build AI assistants for Telegram, WhatsApp and websites, with your rules, your prices and your tone, and a person on your team always handles what needs a decision. Write to info@6ltd.jp.