Module tdlight.api

Class TdApi.UpdateFileDownloads

Enclosing class:
TdApi

public static final class TdApi.UpdateFileDownloads extends TdApi.Update
The state of the file download list has changed.
  • Field Details

    • totalSize

      public long totalSize
      Total size of files in the file download list, in bytes.
    • totalCount

      public int totalCount
      Total number of files in the file download list.
    • downloadedSize

      public long downloadedSize
      Total downloaded size of files in the file download list, in bytes.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UpdateFileDownloads

      public UpdateFileDownloads()
      The state of the file download list has changed.
    • UpdateFileDownloads

      public UpdateFileDownloads(long totalSize, int totalCount, long downloadedSize)
      The state of the file download list has changed.
      Parameters:
      totalSize - long Total size of files in the file download list, in bytes.
      totalCount - int Total number of files in the file download list.
      downloadedSize - long Total downloaded size of files in the file download list, in bytes.
    • UpdateFileDownloads

      public UpdateFileDownloads(DataInput input) throws IOException
      The state of the file download list has changed.
      Throws:
      IOException
  • Method Details