Class TdApi.TestSquareInt

Enclosing class:
TdApi

public static class TdApi.TestSquareInt
extends TdApi.Function
Returns the squared received number; for testing only. This is an offline method. Can be called before authorization.

Returns TestInt

  • Field Details

    • x

      public int x
      Number to square.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • TestSquareInt

      public TestSquareInt()
      Returns the squared received number; for testing only. This is an offline method. Can be called before authorization.

      Returns TestInt

    • TestSquareInt

      public TestSquareInt​(int x)
      Returns the squared received number; for testing only. This is an offline method. Can be called before authorization.

      Returns TestInt

      Parameters:
      x - int Number to square.
    • TestSquareInt

      public TestSquareInt​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details