- Enclosing class:
- TdApi
Changes pause state of a file in the
file download list.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Identifier of the downloaded file.boolean
Pass true if the download is paused. -
Constructor Summary
ConstructorDescriptionChanges pause state of a file in the file download list.ToggleDownloadIsPaused
(int fileId, boolean isPaused) Changes pause state of a file in the file download list.ToggleDownloadIsPaused
(DataInput input) Changes pause state of a file in the file download list. -
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 downloaded file. -
isPaused
public boolean isPausedPass true if the download is paused. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleDownloadIsPaused
public ToggleDownloadIsPaused()Changes pause state of a file in the file download list. ReturnsOk
-
ToggleDownloadIsPaused
public ToggleDownloadIsPaused(int fileId, boolean isPaused) Changes pause state of a file in the file download list. ReturnsOk
- Parameters:
fileId
- int Identifier of the downloaded file.isPaused
- boolean Pass true if the download is paused.
-
ToggleDownloadIsPaused
Changes pause state of a file in the file download list. ReturnsOk
- 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()
-