- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionstatic final int
int
Identifier of the file to stop uploading. -
Constructor Summary
ConstructorDescriptionStops the uploading of a file.CancelUploadFile
(int fileId) Stops the uploading of a file.CancelUploadFile
(DataInput input) Stops the uploading of a file. -
Method Summary
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:
-
-
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
Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.Returns
Ok
- 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()
-