Package org.drinkless.tdlib
Class TdApi.CancelUploadFile
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.intfileIdIdentifier of the file to stop uploading.
-
Constructor Summary
Constructors Constructor Description CancelUploadFile()Default constructor for a function, which stops the uploading of a file.CancelUploadFile(int fileId)Creates a function, which stops the uploading of a file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
fileId
public int fileId
Identifier of the file to stop uploading.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CancelUploadFile
public CancelUploadFile()
Default constructor for a function, which 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)
Creates a function, which 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- Identifier of the file to stop uploading.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-