 In Telegram Beta for Android 13.2.0 (_7278_), Gram Wallet integration with interactive HTML widgets has been introduced, allowing users to interact with their wallets directly inside chats.

Bots can now create interactive cards that allow users to connect their wallets. With the user's confirmation, a widget can receive the wallet address, balance, and, in supported scenarios, public key. The retrieved data can be displayed in the message, while the address can be copied using a separate button.

Widgets can also request a cryptographic signature for text or other supported data. For example, a user can sign a consent message authorizing a bot to store their wallet address together with their Telegram ID. The signature itself does not involve transferring funds.

Another feature allows widgets to request Gram transfers. The widget sends the amount and recipient's address to the wallet, after which the user reviews and confirms the transaction. Once submitted, the widget can receive the transaction message hash, display it, or allow the user to copy it.

In addition to wallet integration, HTML widgets support exchanging requests and responses with bots, as well as synchronizing shared data between open widgets. This makes it possible to create interactive games, polls, and other features directly inside messages.


> The widgets were created by me and are only demo versions.


[@telelakel](https://t.me/telelakel) | [#new_tgbeta](?q=%23new_tgbeta)