public static class TdApi.RemoveAllFilesFromDownloads extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
deleteFromCache
Pass true to delete the file from the TDLib file cache.
|
boolean |
onlyActive
Pass true to remove only active downloads, including paused.
|
boolean |
onlyCompleted
Pass true to remove only completed downloads.
|
| Constructor and Description |
|---|
RemoveAllFilesFromDownloads()
Default constructor for a function, which removes all files from the file download list.
|
RemoveAllFilesFromDownloads(boolean onlyActive,
boolean onlyCompleted,
boolean deleteFromCache)
Creates a function, which removes all files from the file download list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean onlyActive
public boolean onlyCompleted
public boolean deleteFromCache
public static final int CONSTRUCTOR
public RemoveAllFilesFromDownloads()
Returns Ok
public RemoveAllFilesFromDownloads(boolean onlyActive,
boolean onlyCompleted,
boolean deleteFromCache)
Returns Ok
onlyActive - Pass true to remove only active downloads, including paused.onlyCompleted - Pass true to remove only completed downloads.deleteFromCache - Pass true to delete the file from the TDLib file cache.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object