messages.prolongWebView
Indicate to the server (from the user side) that the user is still using a web app.
| Name | Type | Required | Description |
|---|---|---|---|
silent | true | No | Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent silently (no notifications for the receivers). |
peer | InputPeer | Yes | Dialog where the web app was opened. |
bot | InputUser | Yes | Bot that owns the [web app](https://core.telegram.org/api/bots/webapps.md) |
query_id | long | Yes | Web app interaction ID obtained from [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |
reply_to | InputReplyTo | No | If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent in reply to the specified message or story. |
send_as | InputPeer | No | Open the web app as the specified peer |
Responses
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.