Open a bot web app.
simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResult;
---functions---
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 | |
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 |
Bots can offer users interactive HTML5 web apps to completely replace any website.