mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 05:36:56 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
inputFileGenerated | File generated by the client |
Constructor: inputFileGenerated
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, ];
Or, if you're into Lua:
inputFileGenerated={_='inputFileGenerated', original_path=string, conversion=string, expected_size=int, should_cache=Bool, }