Osegi
Mobile·2 min read

Telegram Turns Chat Messages Into Mini-Apps With New Widgets

Telegram Bot API 10.4 lets developers run interactive widgets of under 4KB inside chat messages, with TON payments built in. For now, only private bot chats are live.

Smartphone showing a Telegram chat with an interactive widget embedded in a message bubble.
Image: Digital Trends

Telegram has launched interactive widgets that run directly inside chat messages, letting developers embed small apps, services and payment options without sending users to a separate webpage or Mini App. Founder Pavel Durov announced the feature, saying any Telegram message can now become an app.

The widgets arrived with Bot API 10.4, released on November 9. Developers build them in HTML, CSS and JavaScript, and Telegram runs the code in a QuickJS sandbox. The interface is rendered natively rather than through a WebView, and the compressed code is capped at 4KB (up to 32KB before compression).

How the widgets work

Unlike traditional Mini Apps, which open web pages hosted by developers, widgets sit in the message bubble and stay visible as users scroll through a conversation. Once a message is sent, its code is locked. Widgets cannot accept keyboard input and cannot connect to the internet directly. Requests go through Telegram to the bot, which can then update the widget's data. Anything more complex still needs a bot or a regular Mini App.

For users, that could mean using small services without bouncing between chats, browsers and apps. For developers, it is a new way to distribute lightweight tools inside conversations.

TON payments

The bigger addition is payment support through Telegram's native wallet and TON Connect transaction formats. Developers can reuse existing TON Connect code without building a separate wallet connection. The widget asks its bot to prepare a transaction, then Telegram opens a wallet confirmation screen showing the bot, the amount and the destination. The user must authorize the payment, and developers are advised to verify transaction details and results on the blockchain before treating a payment as complete.

The integration builds on Gram Wallet, Telegram's own non-custodial wallet. Gram is the native currency of TON, previously known as Toncoin. Wallet availability depends on app support and regional restrictions.

The rollout is limited. Production access covers only private chats between users and bots, while widgets for groups and forwarded messages remain on Telegram's test server. Wider availability depends on how quickly Telegram extends production support beyond those one-to-one bot conversations.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:telegrambot apimini appstonwidgetsgram wallet

More from this day

See all →

More in: Mobile

See all →