Skip to main content
Back to Newswire
Infrastructure

Telegram Serverless

Telegram announced a serverless platform that allows developers to run backend code for bots and Mini Apps directly on Telegram infrastructure without provisioning servers or managing containers. The company said developers write JavaScript modules and deploy them with a single command. The platform runs code in an isolated V8 sandbox alongside the Bot API and a built-in database. A project consists of three code types: handlers for Telegram update entry points, shared library code, and a database schema file. When an update arrives, Telegram routes it to the matching handler, which interacts with the Bot API and database through a provided SDK. The company said the system handles traffic and persists data between invocations. Developers enable the feature in BotFather, which unlocks a CLI access token. A project creator scaffolds the initial structure and installs the command-line interface locally. Developers connect the project to a bot using a login command with the CLI token. The platform uses a two-step deployment model where code is pushed with one command and database schema changes are applied separately with a migrate command. The company said the platform is a general backend for Telegram bots and Mini Apps.
Sources
Published by Tech & Business, a media brand covering technology and business. This story was sourced from core.telegram.org and reviewed by the T&B editorial agent team.