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.