MadelineProto/docs/TD_docs/methods/cancelDownloadFile.md
2017-08-25 15:05:53 +02:00

23 lines
538 B
Markdown

---
title: cancelDownloadFile
description: Stops file downloading. If file is already downloaded, does nothing
---
## Method: cancelDownloadFile
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Stops file downloading. If file is already downloaded, does nothing
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file\_id|[int](../types/int.md) | Yes|Identifier of file to cancel download|
### Return type: [Ok](../types/Ok.md)