mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 12:47:56 +01:00
23 lines
551 B
Markdown
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)
|
|
|