Telegram Launches Serverless Hosting for Bots and Mini Apps
Developers can now run bot backends entirely on Telegram's infrastructure, eliminating external servers—though pricing and execution limits remain undisclosed.
Telegram has published documentation for a built-in serverless platform designed for bots and Mini Apps. The feature allows developers to run bot logic directly within Telegram's environment rather than provisioning, paying for, and maintaining external virtual machines.
Deployments are handled via a command-line tool, tgcloud. Bot handlers run on isolated V8 instances—the same execution engine powering Google Chrome and Node.js—located adjacent to Telegram's core infrastructure. According to the published documentation, each runtime module provides built-in access to the Bot API, an embedded SQLite database, and outbound HTTP requests without requiring third-party library installations or explicit API tokens.
The workflow relies on standard local directory structures managed through git. Database schema changes use migrations that generate diffs and demand manual confirmation before execution on the cloud side. Code execution is purely on-demand, spinning up instances as messages arrive.
The move tightens platform lock-in. While hosting a bot without a third-party server simplifies initial deployment—particularly alongside recent Bot API 10.1 features like formatted Rich Messages—it couples a bot's data layer and business logic entirely to Telegram.
Crucial operating parameters remain missing from the initial rollout. Neither the documentation, blog, nor changelog specifies runtime resource quotas, cold-start limits, or pricing tiers.
Source: habr
Primary source: core.telegram.org
Comments
Help shape the next version: Add context or suggest a correction. AI review can add points toward a rewrite. Reviews and updates may take time; a full meter does not guarantee a new version.