Layer 224
MessagesSendWebViewResultMessage
Terminate webview interaction started with messages. request Web View, sending the specified message to the chat on behalf of the user.
method
Bots
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
Parameters
| Name | Type | Description |
|---|---|---|
| BotQueryId | string | Webview interaction ID obtained from messages. request Web View |
| Result | InputBotInlineResult | Message to send |
Returns
WebViewMessageSentGogram Example
// MessagesSendWebViewResultMessage - positional arguments result, err := client.MessagesSendWebViewResultMessage("Hello, World!", &tg.InputBotInlineResult{}) if err != nil { // handle error } // result is *tg.WebViewMessageSent
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | QUERY_ID_INVALID | The query ID is invalid. |
| 400 | USER_BOT_REQUIRED | This method can only be called by a bot. |