Telegram Bot API 10.4 adds interactive widgets and TON Wallet support
Telegram Bot API 10.4 lets bots show interactive widgets inside messages, connect them to the built-in TON Wallet, send private group replies and use custom usernames with Premium.
Telegram has released Bot API 10.4 with support for live, interactive HTML widgets inside message bubbles. Bots can use these mini-websites for features such as price tickers, polls and simple games without requiring users to open an external browser; the widgets are currently limited to one-on-one private chats with bots.
The widgets can interact with Telegram’s built-in TON Wallet. When a bot requests a payment or a signed piece of data, Telegram opens a separate wallet window so the user can review and approve the request. Shared widget data can also be updated in one place and reflected across messages displaying the widget as they refresh.
The update expands ephemeral responses, allowing bots to send replies in group chats that are visible only to the user who tapped the button and the bot. It also adds custom bot usernames, including formats such as @yourname_ai, @yourname_agent, @yourname_app and @yourname_game; creating one requires a Telegram Premium subscription.