mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
keyboardButtonWebView | Button to open a bot mini app using messages.requestWebView, sending over user information after user confirmation. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: keyboardButtonWebView
Button to open a bot mini app using messages.requestWebView, sending over user information after user confirmation.
Can only be sent or received as part of an inline keyboard, use keyboardButtonSimpleWebView for reply keyboards.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Button text |
url | string | Yes | Web app url |
Type: KeyboardButton
Example:
$keyboardButtonWebView = ['_' => 'keyboardButtonWebView', 'text' => 'string', 'url' => 'string'];