Class TdApi.DownloadedFileCounts

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.DownloadedFileCounts
Enclosing class:
TdApi

public static class TdApi.DownloadedFileCounts extends TdApi.Object
Contains number of being downloaded and recently downloaded files found.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Number of active file downloads found, including paused.
    int
    Number of completed file downloads found.
    static final int
    Identifier uniquely determining type of the object.
    int
    Number of paused file downloads found.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Contains number of being downloaded and recently downloaded files found.
    DownloadedFileCounts(int activeCount, int pausedCount, int completedCount)
    Contains number of being downloaded and recently downloaded files found.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • activeCount

      public int activeCount
      Number of active file downloads found, including paused.
    • pausedCount

      public int pausedCount
      Number of paused file downloads found.
    • completedCount

      public int completedCount
      Number of completed file downloads found.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • DownloadedFileCounts

      public DownloadedFileCounts()
      Contains number of being downloaded and recently downloaded files found.
    • DownloadedFileCounts

      public DownloadedFileCounts(int activeCount, int pausedCount, int completedCount)
      Contains number of being downloaded and recently downloaded files found.
      Parameters:
      activeCount - Number of active file downloads found, including paused.
      pausedCount - Number of paused file downloads found.
      completedCount - Number of completed file downloads found.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR