Layer 227
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 | Button style, see here for more info on button styles. |
| Text | string | Button text |
| Url | string | Web app url |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonWebView constructor obj := &tg.KeyboardButtonWebView{ Style: nil, Text: "Hello, World!", Url: "Hello, World!", }