bots.invokeWebViewCustomMethod
Send a custom request from a mini bot app, triggered by a web\_app\_invoke\_custom\_method event ».
Send a custom request from a [mini bot app](https://core.telegram.org/api/bots/webapps.md), triggered by a [web\_app\_invoke\_custom\_method event »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
bot | InputUser | Ja | Identifier of the bot associated to the [mini bot app](https://core.telegram.org/api/bots/webapps.md) |
custom_method | string | Ja | Identifier of the custom method to invoke |
params | DataJSON | Ja | Method parameters |
Antworten
DataJSON
MTProto RPC
- 400 · BOT_INVALID – Dies ist kein gültiger Bot.
- 400 · DATA_JSON_INVALID – Die bereitgestellten JSON-Daten sind ungültig.
- 400 · METHOD_INVALID – Die angegebene Methode ist ungültig.