Package org.drinkless.tdlib
Class TdApi.ToggleDownloadIsPaused
- Enclosing class:
- TdApi
Changes pause state of a file in the file download list.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intIdentifier of the downloaded file.booleanPass true if the download is paused. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes pause state of a file in the file download list.ToggleDownloadIsPaused(int fileId, boolean isPaused) Creates a function, which changes pause state of a file in the file download list. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
fileId
public int fileIdIdentifier of the downloaded file. -
isPaused
public boolean isPausedPass true if the download is paused. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleDownloadIsPaused
public ToggleDownloadIsPaused()Default constructor for a function, which changes pause state of a file in the file download list.Returns
Ok -
ToggleDownloadIsPaused
public ToggleDownloadIsPaused(int fileId, boolean isPaused) Creates a function, which changes pause state of a file in the file download list.Returns
Ok- Parameters:
fileId- Identifier of the downloaded file.isPaused- Pass true if the download is paused.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-