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.
type tg.KeyboardButtonWebView struct { /* ... */ }
Implements KeyboardButton.
Fieldsโ
| Name | Type | Required | Description |
|---|---|---|---|
Style | KeyboardButtonStyle | โ | Button style, see here ยป for more info on button styles. |
Text | string | yes | Button text |
URL | string | yes | Web app url |
Referencesโ
- Official documentation
- Generated Go reference
- TL definition:
keyboardButtonWebView#e846b1a0