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#a0c0505c text:string url:string = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | string | Button text |
| Url | string | Web app URL |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonSimpleWebView constructor obj := &tg.KeyboardButtonSimpleWebView{ Text: "Hello, World!", Url: "Hello, World!", }