Package it.tdlight.jni
Class TdApi.TestSquareInt
- Enclosing class:
- TdApi
public static class TdApi.TestSquareInt extends TdApi.Function<TdApi.TestInt>
Returns the squared received number;
for testing only. This is an offline
method. Can be called before authorization.
Returns TestInt
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
x
Number to square. -
Constructor Summary
Constructors Constructor Description TestSquareInt()
Returns the squared received number; for testing only.TestSquareInt(int x)
Returns the squared received number; for testing only.TestSquareInt(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
x
public int xNumber 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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-