1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:46:54 +01:00
MadelineProto/docs/TD_docs/constructors/updateFileGenerationStart.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.4 KiB

title description
updateFileGenerationStart File generation process need to be started by the client

Constructor: updateFileGenerationStart

Back to constructors index

File generation process need to be started by the client

Attributes:

Name Type Required Description
generation_id long Yes Unique identifier for the generation process
original_path string Yes Path to a file from which new file is generated, may be empty
destination_path string Yes Path to a file which should be created and to which new file should be generated
conversion string Yes String specifying conversion applied to the original file

Type: Update

Example:

$updateFileGenerationStart = ['_' => 'updateFileGenerationStart', 'generation_id' => long, 'original_path' => 'string', 'destination_path' => 'string', 'conversion' => 'string'];

PWRTelegram json-encoded version:

{"_": "updateFileGenerationStart", "generation_id": long, "original_path": "string", "destination_path": "string", "conversion": "string"}

Or, if you're into Lua:

updateFileGenerationStart={_='updateFileGenerationStart', generation_id=long, original_path='string', destination_path='string', conversion='string'}