Package org.drinkless.tdlib
Class TdApi.GetJsonString
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetJsonString
-
- Enclosing class:
- TdApi
public static class TdApi.GetJsonString extends TdApi.Function
Converts a JsonValue object to corresponding JSON-serialized string. Can be called synchronously.Returns
Text
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.JsonValuejsonValueThe JsonValue object.
-
Constructor Summary
Constructors Constructor Description GetJsonString()Default constructor for a function, which converts a JsonValue object to corresponding JSON-serialized string.GetJsonString(TdApi.JsonValue jsonValue)Creates a function, which converts a JsonValue object to corresponding JSON-serialized string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
jsonValue
public TdApi.JsonValue jsonValue
The JsonValue object.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetJsonString
public GetJsonString()
Default constructor for a function, which converts a JsonValue object to corresponding JSON-serialized string. Can be called synchronously.Returns
Text
-
GetJsonString
public GetJsonString(TdApi.JsonValue jsonValue)
Creates a function, which converts a JsonValue object to corresponding JSON-serialized string. Can be called synchronously.Returns
Text- Parameters:
jsonValue- The JsonValue object.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-