Class TdApi.TestSquareInt

  • Enclosing class:
    TdApi

    public static class TdApi.TestSquareInt
    extends TdApi.Function
    Returns the squared received number; for testing only.

    Returns TestInt

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int x
      Number to square.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSquareInt()
      Default constructor.
      TestSquareInt​(int x)
      Constructor for initialization of all fields.
    • 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.
      • TestSquareInt

        public TestSquareInt​(int x)
        Constructor for initialization of all fields.
        Parameters:
        x - Number to square.