MadelineProto/docs/TD_docs/methods/setFileGenerationProgress.md

25 lines
730 B
Markdown
Raw Normal View History

---
title: setFileGenerationProgress
description: Next part of a file was generated
---
## Method: setFileGenerationProgress
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Next part of a file was generated
### Params:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2017-12-21 21:08:25 +01:00
|generation\_id|[int64](../constructors/int64.md) | Yes|Identifier of the generation process|
2017-08-25 15:05:53 +02:00
|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)