Package it.tdlight.jni
Class TdApi.CancelUploadFile
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.CancelUploadFile
- Enclosing class:
- TdApi
public static class TdApi.CancelUploadFile extends TdApi.Function
Stops the uploading of a file. Supported
only for files uploaded by using
uploadFile. For other files the behavior is undefined.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
fileId
Identifier of the file to stop uploading. -
Constructor Summary
Constructors Constructor Description CancelUploadFile()
Stops the uploading of a file.CancelUploadFile(int fileId)
Stops the uploading of a file.CancelUploadFile(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 stop uploading. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
CancelUploadFile
public CancelUploadFile()Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.Returns
Ok
-
CancelUploadFile
public CancelUploadFile(int fileId)Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.Returns
Ok
- Parameters:
fileId
- int Identifier of the file to stop uploading.
-
CancelUploadFile
- 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()
-