Constructor: 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.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Button text |
url | string | Yes | Web app URL |
Type: KeyboardButton
Example:
$keyboardButtonSimpleWebView = ['_' => 'keyboardButtonSimpleWebView', 'text' => 'string', 'url' => 'string'];