Check if a mini app can request the download of a specific file: called when handling web_app_request_file_download events »
Method schema is available as of layer 193. Switch »
Name | Type | Description |
---|---|---|
bot | InputUser | The bot that owns the mini app that requested the download |
file_name | string | The filename from the web_app_request_file_download event » |
url | string | The url from the web_app_request_file_download event » |
Code | Type | Description |
---|---|---|
400 | BOT_INVALID | This is not a valid bot. |
Bots can offer users interactive HTML5 web apps to completely replace any website.
How telegram apps interact with webpages