public static class TdApi.TestSquareInt extends TdApi.Function
Returns TestInt
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
x
Number to square.
|
Constructor and Description |
---|
TestSquareInt()
Default constructor for a function, which returns the squared received number; for testing only.
|
TestSquareInt(int x)
Creates a function, which returns the squared received number; for testing only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int x
public static final int CONSTRUCTOR
public TestSquareInt()
Returns TestInt
public TestSquareInt(int x)
Returns TestInt
x
- Number to square.public int getConstructor()
getConstructor
in class TdApi.Function