public static class TdApi.RemoveFileFromDownloads 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.
|
int |
fileId
Identifier of the downloaded file.
|
| Constructor and Description |
|---|
RemoveFileFromDownloads()
Default constructor for a function, which removes a file from the file download list.
|
RemoveFileFromDownloads(int fileId,
boolean deleteFromCache)
Creates a function, which removes a file from 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 deleteFromCache
public static final int CONSTRUCTOR
public RemoveFileFromDownloads()
Returns Ok
public RemoveFileFromDownloads(int fileId,
boolean deleteFromCache)
Returns Ok
fileId - Identifier of the downloaded file.deleteFromCache - Pass true to delete the file from the TDLib file cache.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object