1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 15:46:55 +01:00
MadelineProto/docs/TD_docs/methods/cancelDownloadFile.md

23 lines
551 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
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file\_id|[CLICK ME int](../types/int.md) | Yes|Identifier of file to cancel download|
### Return type: [Ok](../types/Ok.md)