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 Detail

      • x

        public int x
        Number to square.
      • CONSTRUCTOR

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

      • TestSquareInt

        public TestSquareInt()
        Default constructor for a function, which 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)
        Creates a function, which returns the squared received number; for testing only. This is an offline method. Can be called before authorization.

        Returns TestInt

        Parameters:
        x - Number to square.