public static class TdApi.InputFileGenerated extends TdApi.InputFile
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
conversion
String specifying the conversion applied to the original file; must be persistent across application restarts.
|
long |
expectedSize
Expected size of the generated file, in bytes; pass 0 if unknown.
|
java.lang.String |
originalPath
Local path to a file from which the file is generated.
|
| Constructor and Description |
|---|
InputFileGenerated()
A file generated by the application.
|
InputFileGenerated(java.lang.String originalPath,
java.lang.String conversion,
long expectedSize)
A file generated by the application.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String originalPath
public java.lang.String conversion
public long expectedSize
public static final int CONSTRUCTOR
public InputFileGenerated()
public InputFileGenerated(java.lang.String originalPath,
java.lang.String conversion,
long expectedSize)
originalPath - Local path to a file from which the file is generated. The path doesn't have to be a valid path and is used by TDLib only to detect name and MIME type of the generated file.conversion - String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with '#' are reserved for internal TDLib usage.expectedSize - Expected size of the generated file, in bytes; pass 0 if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object