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.

Constructor schema is available as of layer 140. Switch »

Parameters

Name Type Description
text string Text of the keyboardButtonSimpleWebView that was pressed to open the web app.

Type

MessageAction

Related pages

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.

Mini Apps on Telegram

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