Skip to content

messages.requestSimpleWebView

Layer 225

Constructor ID: 0x413a3e73
Returns: WebViewResult

Parameters

NameTypeDescription
from_switch_webviewbool (flags.1, optional)
from_side_menubool (flags.2, optional)
compactbool (flags.7, optional)
fullscreenbool (flags.8, optional)
botInputUser
urlstring (flags.3, optional)
start_paramstring (flags.4, optional)
theme_paramsDataJSON (flags.0, optional)
platformstring

Example

go
result, err := client.Raw(&tg.RequestSimpleWebViewRequest{
    from_switch_webview: false,
    from_side_menu: false,
    compact: false,
    fullscreen: false,
    bot: nil, // InputUser
    url: "",
    start_param: "",
    theme_params: nil, // DataJSON
    platform: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.