Package it.tdlight.jni
Class TdApi.DeleteFile
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.DeleteFile
- Enclosing class:
- TdApi
public static class TdApi.DeleteFile extends TdApi.Function
Deletes a file from the TDLib file cache.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
fileId
Identifier of the file to delete. -
Constructor Summary
Constructors Constructor Description DeleteFile()
Deletes a file from the TDLib file cache.DeleteFile(int fileId)
Deletes a file from the TDLib file cache.DeleteFile(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
fileId
public int fileIdIdentifier of the file to delete. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeleteFile
public DeleteFile()Deletes a file from the TDLib file cache.Returns
Ok
-
DeleteFile
public DeleteFile(int fileId)Deletes a file from the TDLib file cache.Returns
Ok
- Parameters:
fileId
- int Identifier of the file to delete.
-
DeleteFile
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-