Module tdlight.api

Class TdApi.UpdateFileDownload

Enclosing class:
TdApi

public static final class TdApi.UpdateFileDownload extends TdApi.Update
A file download was changed. This update is sent only after file download list is loaded for the first time.
  • Field Details

    • fileId

      public int fileId
      File identifier.
    • completeDate

      public int completeDate
      Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.
    • isPaused

      public boolean isPaused
      True, if downloading of the file is paused.
    • counts

      New number of being downloaded and recently downloaded files found.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UpdateFileDownload

      public UpdateFileDownload()
      A file download was changed. This update is sent only after file download list is loaded for the first time.
    • UpdateFileDownload

      public UpdateFileDownload(int fileId, int completeDate, boolean isPaused, TdApi.DownloadedFileCounts counts)
      A file download was changed. This update is sent only after file download list is loaded for the first time.
      Parameters:
      fileId - int File identifier.
      completeDate - int Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.
      isPaused - boolean True, if downloading of the file is paused.
      counts - DownloadedFileCounts New number of being downloaded and recently downloaded files found.
    • UpdateFileDownload

      public UpdateFileDownload(DataInput input) throws IOException
      A file download was changed. This update is sent only after file download list is loaded for the first time.
      Throws:
      IOException
  • Method Details