mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:36:55 +01:00
25 lines
721 B
Markdown
25 lines
721 B
Markdown
---
|
|
title: setFileGenerationProgress
|
|
description: Next part of a file was generated
|
|
---
|
|
## Method: setFileGenerationProgress
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Next part of a file was generated
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|generation\_id|[long](../types/long.md) | Yes|Identifier of the generation process|
|
|
|size|[int](../types/int.md) | Yes|Full size of file in bytes, 0 if unknown.|
|
|
|local\_size|[int](../types/int.md) | Yes|Number of bytes already generated. Negative number means that generation has failed and should be terminated|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|