Layer 224
KeyboardButtonSimpleWebView
Button to open a bot mini app using messages. request Simple Web View, without sending user information to the web app.
constructor
keyboardButtonSimpleWebView#e15c4370 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 KeyboardButtonSimpleWebView constructor obj := &tg.KeyboardButtonSimpleWebView{ Text: "Hello, World!", Url: "Hello, World!", // Optional fields: // Style: &tg.KeyboardButtonStyle{}, }