public static class TdApi.FileDownload extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
addDate
Point in time (Unix timestamp) when the file was added to the download list.
|
int |
completeDate
Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
fileId
File identifier.
|
boolean |
isPaused
True, if downloading of the file is paused.
|
TdApi.Message |
message
The message with the file.
|
| Constructor and Description |
|---|
FileDownload()
Describes a file added to file download list.
|
FileDownload(int fileId,
TdApi.Message message,
int addDate,
int completeDate,
boolean isPaused)
Describes a file added to file download list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int fileId
public TdApi.Message message
public int addDate
public int completeDate
public boolean isPaused
public static final int CONSTRUCTOR
public FileDownload()
public FileDownload(int fileId,
TdApi.Message message,
int addDate,
int completeDate,
boolean isPaused)
fileId - File identifier.message - The message with the file.addDate - Point in time (Unix timestamp) when the file was added to the download list.completeDate - Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.isPaused - True, if downloading of the file is paused.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object