Class TdApi.CancelPreliminaryUploadFile
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.CancelPreliminaryUploadFile
- Enclosing class:
- TdApi
Stops the preliminary uploading of a file. Supported only for files uploaded by using preliminaryUploadFile. For other files the behavior is undefined.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Identifier of the file to stop uploading. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which stops the preliminary uploading of a file.CancelPreliminaryUploadFile
(int fileId) Creates a function, which stops the preliminary uploading of a file. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
fileId
public int fileIdIdentifier of the file to stop uploading. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CancelPreliminaryUploadFile
public CancelPreliminaryUploadFile()Default constructor for a function, which stops the preliminary uploading of a file. Supported only for files uploaded by using preliminaryUploadFile. For other files the behavior is undefined.Returns
Ok
-
CancelPreliminaryUploadFile
public CancelPreliminaryUploadFile(int fileId) Creates a function, which stops the preliminary uploading of a file. Supported only for files uploaded by using preliminaryUploadFile. For other files the behavior is undefined.Returns
Ok
- Parameters:
fileId
- Identifier of the file to stop uploading.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-