Class TdApi.TestSquareInt
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.TestInt>
dev.voroby.springframework.telegram.client.TdApi.TestSquareInt
- Enclosing class:
- TdApi
Returns the squared received number; for testing only. This is an offline method. Can be called before authorization.
Returns TestInt
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Number to square. -
Constructor Summary
ConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
x
public int xNumber to square. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-