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).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
bot | InputUser | أيوه | Identifier of the bot associated to the [mini bot app](https://core.telegram.org/api/bots/webapps.md) |
custom_method | string | أيوه | Identifier of the custom method to invoke |
params | DataJSON | أيوه | Method parameters |
الردود
DataJSON
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.
- 400 · DATA_JSON_INVALID — The provided JSON data is invalid.
- 400 · METHOD_INVALID — The specified method is invalid.