Open a bot web app.

simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResult;
messages.requestSimpleWebView#299bec8e flags:# from_switch_webview:flags.1?true bot:InputUser url:string theme_params:flags.0?DataJSON platform:string = SimpleWebViewResult;


Name Type Description
flags # Flags, see TL conditional fields
from_switch_webview flags.1?true Whether the webapp was opened by clicking on the switch_webview button shown on top of the inline results list returned by messages.getInlineBotResults.
bot InputUser Bot that owns the webapp
url string Web app URL
theme_params flags.0?DataJSON Theme parameters ยป
platform string Short name of the application; 0-64 English letters, digits, and underscores



Related pages


Query an inline bot

Bot web apps

Bots can offer users interactive HTML5 web apps to completely replace any website.