mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 11:27:20 +01:00
23 lines
633 B
Markdown
23 lines
633 B
Markdown
---
|
|
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
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|file\_id|[CLICK ME int](../types/int.md) | Yes|Identifier of file to cancel upload|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|