Skip to content

messages.requestMainWebView

Layer 225

Constructor ID: 0xc9e01e7b
Returns: WebViewResult

Parameters

NameTypeDescription
compactbool (flags.7, optional)
fullscreenbool (flags.8, optional)
peerInputPeer
botInputUser
start_paramstring (flags.1, optional)
theme_paramsDataJSON (flags.0, optional)
platformstring

Example

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

Released under the Apache-2.0 License.