Layer 220
WebViewResultUrl
Contains the webview URL with appropriate theme and user info parameters added
constructor
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true fullscreen:flags.2?true query_id:flags.0?long url:string = WebViewResult;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Fullsize | flags.1?true | If set, the app must be opened in fullsize mode instead of compact mode. |
| Fullscreen | flags.2?true | If set, the app must be opened in fullscreen |
| QueryId | flags.0?long | Webview session ID (only returned by inline button mini apps, menu button mini apps, attachment menu mini apps ). |
| Url | string | Webview URL to open |
Returns
WebViewResultGogram Example
// Creating WebViewResultUrl constructor obj := &tg.WebViewResultUrl{ Url: "...", // Optional fields: // Fullsize: true, // Fullscreen: true, // QueryId: int64(0), }