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.
type tg.KeyboardButtonSimpleWebView 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:
keyboardButtonSimpleWebView#e15c4370