Class TdApi.AddNetworkStatistics

Enclosing class:
TdApi

public static class TdApi.AddNetworkStatistics extends TdApi.Function<TdApi.Ok>
Adds the specified data to data usage statistics. Can be called before authorization.

Returns Ok

  • Field Details

    • entry

      The network statistics entry with the data to be added to statistics.
    • CONSTRUCTOR

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

    • AddNetworkStatistics

      public AddNetworkStatistics()
      Default constructor for a function, which adds the specified data to data usage statistics. Can be called before authorization.

      Returns Ok

    • AddNetworkStatistics

      public AddNetworkStatistics(TdApi.NetworkStatisticsEntry entry)
      Creates a function, which adds the specified data to data usage statistics. Can be called before authorization.

      Returns Ok

      Parameters:
      entry - The network statistics entry with the data to be added to statistics.
  • 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