MadelineProto/docs/TD_docs/constructors/inputFileGenerated.md
2017-07-23 16:33:46 +02:00

1.4 KiB

title description
inputFileGenerated File generated by the client

Constructor: inputFileGenerated

Back to constructors index

File generated by the client

Attributes:

Name Type Required Description
original_path string Yes Local path to a file from which the file is generated, may be empty if there is no such file
conversion string Yes String specifying conversion applied to the original file, should be persistent across application restart
expected_size int Yes Expected size of the generated file
should_cache Bool Yes True, if result of the conversion should be cached persistently

Type: InputFile

Example:

$inputFileGenerated = ['_' => 'inputFileGenerated', 'original_path' => 'string', 'conversion' => 'string', 'expected_size' => int, 'should_cache' => Bool];

PWRTelegram json-encoded version:

{"_": "inputFileGenerated", "original_path": "string", "conversion": "string", "expected_size": int, "should_cache": Bool}

Or, if you're into Lua:

inputFileGenerated={_='inputFileGenerated', original_path='string', conversion='string', expected_size=int, should_cache=Bool}