Layer 220
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

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.

Gogram Example

// MessagesSendWebViewResultMessage - positional arguments
result, err := client.MessagesSendWebViewResultMessage("...", &tg.InputBotInlineResult{})
if err != nil {
    // handle error
}
// result is *tg.WebViewMessageSent