The new update allows developers to host a Mini App's frontend and backend directly on Telegram's infrastructure.
The frontend can be deployed to an address like "
app<app_id>.tgcloud.ai", while backend logic can be placed in tgcloud/endpoints/ and called from the Mini App usingTelegram.WebApp.Serverless.call().Telegram handles user authorization, while the Serverless environment provides access to SQLite, the Bot API and external HTTP requests.
This means developers can run a complete Mini App without hosting the frontend or maintaining their own backend server.
The update is available with Serverless CLI 0.2.0.
Previously mentioned:
[View 1], [View 2], [View 3], [View 4], [View 5]
@telelakel