Skip to content

messages.requestWebView

Layer 225

Constructor ID: 0x269dc2c1
Returns: WebViewResult

Parameters

NameTypeDescription
from_bot_menubool (flags.4, optional)
silentbool (flags.5, optional)
compactbool (flags.7, optional)
fullscreenbool (flags.8, optional)
peerInputPeer
botInputUser
urlstring (flags.1, optional)
start_paramstring (flags.3, optional)
theme_paramsDataJSON (flags.2, optional)
platformstring
reply_toInputReplyTo (flags.0, optional)
send_asInputPeer (flags.13, optional)

Example

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

Released under the Apache-2.0 License.