messageActionWebViewDataSent #

Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (user side service message).

Clients should display a service message with the text Data from the «$text» button was transferred to the bot.

Layer 223

messageActionWebViewDataSent#b4c38cb5 text:string = MessageAction;

Parameters #

NameTypeDescription
textstringText of the keyboardButtonSimpleWebView that was pressed to open the web app.

Type #

MessageAction

keyboardButtonSimpleWebView #

Button to open a bot mini app using messages.requestSimpleWebView, without sending user information to the web app.

Can only be sent or received as part of a reply keyboard, use keyboardButtonWebView for inline keyboards.

When pressed, clients must open a Keyboard Button Mini App using messages.requestSimpleWebView, passing url to messages.requestSimpleWebView.url.

Mini Apps on Telegram #

Bots can offer users interactive HTML5 web apps to completely replace any website.