public static class TdApi.ToggleDownloadIsPaused extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
fileId
Identifier of the downloaded file.
|
boolean |
isPaused
Pass true if the download is paused.
|
| Constructor and Description |
|---|
ToggleDownloadIsPaused()
Default 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int fileId
public boolean isPaused
public static final int CONSTRUCTOR
public ToggleDownloadIsPaused()
Returns Ok
public ToggleDownloadIsPaused(int fileId,
boolean isPaused)
Returns Ok
fileId - Identifier of the downloaded file.isPaused - Pass true if the download is paused.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object