Terminate webview interaction started with messages.requestWebView, sending the specified message to the chat on behalf of the user.
webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
---functions---
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
Name | Type | Description |
---|---|---|
bot_query_id | string | Webview interaction ID obtained from messages.requestWebView |
result | InputBotInlineResult | Message to send |
Code | Type | Description |
---|---|---|
400 | QUERY_ID_INVALID | The query ID is invalid. |
Open a bot web app, sending over user information after user confirmation.
After calling this method, until the user closes the webview, messages.prolongWebView must be called every 60 seconds.