1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 04:36:57 +01:00
MadelineProto/docs/TD_docs/methods/cancelUploadFile.md

23 lines
620 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +02:00
---
title: cancelUploadFile
description: Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined
---
## Method: cancelUploadFile
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file\_id|[int](../types/int.md) | Yes|Identifier of file to cancel upload|
### Return type: [Ok](../types/Ok.md)