--- title: downloadFile description: Asynchronously downloads file from cloud. Updates updateFileProgress will notify about download progress. Update updateFile will notify about successful download --- ## Method: downloadFile [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Asynchronously downloads file from cloud. Updates updateFileProgress will notify about download progress. Update updateFile will notify about successful download ### Params: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |file\_id|[int](../types/int.md) | Yes|Identifier of file to download| ### Return type: [Ok](../types/Ok.md)