mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 04:36:57 +01:00
23 lines
707 B
Markdown
23 lines
707 B
Markdown
---
|
|
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)
|
|
|