Class TdApi.GetNetworkStatistics

  • Enclosing class:
    TdApi

    public static class TdApi.GetNetworkStatistics
    extends TdApi.Function
    Returns network data usage statistics. Can be called before authorization.

    Returns NetworkStatistics

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      boolean onlyCurrent
      If true, returns only data for the current library launch.
    • Field Detail

      • onlyCurrent

        public boolean onlyCurrent
        If true, returns only data for the current library launch.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetNetworkStatistics

        public GetNetworkStatistics()
        Default constructor.
      • GetNetworkStatistics

        public GetNetworkStatistics​(boolean onlyCurrent)
        Constructor for initialization of all fields.
        Parameters:
        onlyCurrent - If true, returns only data for the current library launch.