messages.prolongWebView
Indicate to the server (from the user side) that the user is still using a web app.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
silent | true | لأ | 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 | أيوه | Dialog where the web app was opened. |
bot | InputUser | أيوه | Bot that owns the [web app](https://core.telegram.org/api/bots/webapps.md) |
query_id | long | أيوه | Web app interaction ID obtained from [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |
reply_to | InputReplyTo | لأ | 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 | لأ | Open the web app as the specified peer |
الردود
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.