The Telegram channel for Sky, Innovation City's customer-support assistant. I wrote the first bot, then hardened it for production and gave operators a control panel.

Sky already answered customers on Innovation City's website. Many of the same people spend their day on Telegram, in private chats and in groups, and the support had to reach them there with the same answers.
A group is public. An assistant that replies to everything, or repeats someone's details in front of others, loses people's trust at once.
The bot also handles enquiries from real prospects and sends scheduled messages. If it forgets its state it can reset a conversation or message many chats twice, and the people running it need to change who it talks to without waiting for a developer.
We built a thin channel in front of the same assistant. Telegram sends each update to a small service that acknowledges it at once and processes it in the background. The service maps each user to a conversation with the assistant, which holds the memory. The bot itself keeps only mappings, preferences and schedules, in Redis.
In a private chat it answers like the website does. In a group it speaks only when it is mentioned, replied to or asked with a command, then offers to carry the conversation into a private chat with its context intact.
Each Telegram user is mapped to a conversation with the assistant, so the answers and the memory are the same as on the website.
Rate limits, safe message formatting, protection against duplicate updates, recovery from expired sessions and timeouts on every outside call keep it well behaved in busy groups.
Rotating messages with cooldowns and quiet hours, with images and video and a text fallback. One recipient failing never stops the rest of the batch.
An authenticated dashboard to allow or block groups and users, choose which announcements go to which audience, and edit reminders, all without a redeploy.
A thin channel adapter
Instead of a second assistant with its own memory.
The assistant holds the conversation history. The bot only translates between Telegram and it, so both channels give the same answers.
Redis as the durable state
Instead of process memory, or a SQL database added just in case.
Losing state can reset a prospect's conversation or repeat a scheduled message, and the data is small and key-shaped.
Routes, handlers and services in one modular service
Instead of splitting into microservices.
The size favours one deployable unit. Each outside provider still has its own service with typed requests and responses.
Policy kept in an admin store
Instead of redeploying to change who the bot talks to.
Defaults plus overrides, with blocklists winning, can be changed by an operator in the middle of an incident.
I led the bot's development in a team of two. I wrote the first version and set its shape: a thin channel in front of the assistant, with its state in Redis. Before go-live I audited the whole service and worked through what the audit found.
Then I gave the people who run Sky control over it, so changing who the bot talks to or what it announces no longer needs a developer or a redeploy.
With the team, the bot also gained voice messages, Arabic, and announcements written from the website's content.
Customers reach the same assistant on Telegram as on the website, and the people who run it can change its behaviour without a developer.
In groups it answers only when asked and moves personal questions into a private chat, and scheduled messages keep their place and go out once, because the bot no longer depends on what one process remembers.