Layer 224
KeyboardButtonWebView
Button to open a bot mini app using messages. request Web View, sending over user information after user confirmation.
constructor
keyboardButtonWebView#e846b1a0 flags:# style:flags.10?KeyboardButtonStyle text:string url:string = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Style | flags.10?KeyboardButtonStyle | |
| Text | string | Button text |
| Url | string | Web app url |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonWebView constructor obj := &tg.KeyboardButtonWebView{ Text: "Hello, World!", Url: "Hello, World!", // Optional fields: // Style: &tg.KeyboardButtonStyle{}, }