bots.checkDownloadFileParams
Check if a mini app can request the download of a specific file: called when handling web\_app\_request\_file\_download events »
Check if a [mini app](https://core.telegram.org/api/bots/webapps.md) can request the download of a specific file: called when handling [web\_app\_request\_file\_download events »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
bot | InputUser | はい | The bot that owns the [mini app](https://core.telegram.org/api/bots/webapps.md) that requested the download |
file_name | string | はい | The `filename` from the [web_app_request_file_download event »](https://core.telegram.org/api/web-events.md#web-app-request-file-download) |
url | string | はい | The `url` from the [web_app_request_file_download event »](https://core.telegram.org/api/web-events.md#web-app-request-file-download) |
レスポンス
Bool
MTProto RPC
- 400 · BOT_INVALID — This is not a valid bot.