public static class TdApi.ToggleAllDownloadsArePaused extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
boolean |
arePaused
Pass true to pause all downloads; pass false to unpause them.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
ToggleAllDownloadsArePaused()
Default constructor for a function, which changes pause state of all files in the file download list.
|
ToggleAllDownloadsArePaused(boolean arePaused)
Creates a function, which changes pause state of all files in the file download list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean arePaused
public static final int CONSTRUCTOR
public ToggleAllDownloadsArePaused()
Returns Ok
public ToggleAllDownloadsArePaused(boolean arePaused)
Returns Ok
arePaused - Pass true to pause all downloads; pass false to unpause them.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object