Class TdApi.TestCallString
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.TestString>
dev.voroby.springframework.telegram.client.TdApi.TestCallString
- Enclosing class:
- TdApi
Returns the received string; for testing only. This is an offline method. Can be called before authorization.
Returns TestString
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.String to return. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns the received string; for testing only.Creates a function, which returns the received string; 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
String to return. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TestCallString
public TestCallString()Default constructor for a function, which returns the received string; for testing only. This is an offline method. Can be called before authorization.Returns
TestString
-
TestCallString
Creates a function, which returns the received string; for testing only. This is an offline method. Can be called before authorization.Returns
TestString
- Parameters:
x
- String to return.
-
-
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
-