MadelineProtoDocs/docs/API_docs/constructors/messageActionWebViewDataSent.md

32 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "messageActionWebViewDataSent"
description: "Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (user side service message)."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionWebViewDataSent
[Back to constructors index](/API_docs/constructors/index.html)
Data from an opened [reply keyboard bot mini app](https://core.telegram.org/api/bots/webapps) 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:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](/API_docs/types/string.html) | Yes|Text of the [keyboardButtonSimpleWebView](../constructors/keyboardButtonSimpleWebView.html) that was pressed to open the web app.|
### Type: [MessageAction](/API_docs/types/MessageAction.html)
### Example:
```
$messageActionWebViewDataSent = ['_' => 'messageActionWebViewDataSent', 'text' => 'string'];
```