Link Search Menu Expand Document

Constructor: messageActionWebViewDataSent

Back to constructors index

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.

Attributes:

NameTypeRequiredDescription
textstringYesText of the keyboardButtonSimpleWebView that was pressed to open the web app.

Type: MessageAction

Example:

$messageActionWebViewDataSent = ['_' => 'messageActionWebViewDataSent', 'text' => 'string'];