- Enclosing class:
- TdApi
Changes pause state of a file in the
file download list.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intintIdentifier of the downloaded file.booleanPass true if the download is paused. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-