2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
title: updateFileGenerationProgress
|
|
|
|
description: Informs that a file is being generated
|
2018-04-04 19:52:48 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
## Constructor: updateFileGenerationProgress
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Informs that a file is being generated
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|file\_id|[int](../types/int.md) | Yes|File identifier|
|
|
|
|
|size|[int](../types/int.md) | Yes|Expected size of the generated file|
|
|
|
|
|ready|[int](../types/int.md) | Yes|Number of bytes already generated. Negative number means that generation has failed and was terminated|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|