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