mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 09:47:20 +01:00
886 B
886 B
title | description |
---|---|
downloadFile | Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download |
Method: downloadFile
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download
Parameters:
Name | Type | Required | Description |
---|---|---|---|
file_id | CLICK ME int | Yes | Identifier of file to download |
priority | CLICK ME int | Yes | Priority of download, 1-32. The higher priority, the earlier file will be downloaded. If priorities of two files are equal then the last one for which downloadFile is called will be downloaded first |