axdev
SaaSTelegramReal-time

Shared support inbox for Telegram bots and websites

A service where a team answers customers from the browser while customers talk to the company's bot. Messages from Telegram and a website chat widget land in one inbox.

channels in one inbox: Telegram and website chat
2
channels in one inbox: Telegram and website chat
events per minute per socket: abuse limit
100
events per minute per socket: abuse limit

A service for small businesses that talk to customers through a Telegram bot. A company creates a bot and pastes its token into the dashboard; from then on, its managers answer customers from the browser. The customer only ever sees the company’s bot. Several managers can work one bot, and several bots sit in one list. Photos show inside the thread, there are message statistics, and a bot can greet a customer on their first message.

One of our engineers built the whole product, from the API to the landing page, with AI agents.

The second channel is a chat widget added to a website with one line of code. Website visitors’ messages land in the same inbox as Telegram messages.

Telegram

When a bot is created, the service registers its webhook automatically. Every update from Telegram is stored and sorted by type: text, photo, new participant, group created. Group upgrades to supergroups get special handling: the chat ID changes, and without this the conversation history would be lost. Photos are copied into our own S3 storage so the service does not depend on Telegram file links.

Website chat and tenant isolation

The widget runs on customers’ own domains, so the Socket.IO real‑time server has to accept connections from anywhere. Protection comes from checking every event instead. The server gets the list of rooms a manager may join from the API using the manager’s token, and never from data sent by the client. This closed a vulnerability: the widget ID is public, and previously anyone could use it to subscribe to another company’s live chats. If the API is unavailable, the server denies access rather than allowing it.

Only an authenticated manager socket can send messages as a manager. Connections and events are rate‑limited: 20 connections per IP per minute and 100 events per socket per minute. Event payloads are validated on the server, and messages between the widget and the host page are accepted only from allowed origins.

Dashboard and landing page

The manager dashboard is built with Next.js and receives new messages in real time over the same socket. The Symfony API handles projects, bots, conversations, media, and authentication. The landing page, in English and Russian, is built with Astro and runs on Cloudflare Workers.