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