Class TdApi.GetJsonValue

Enclosing class:
TdApi

public static class TdApi.GetJsonValue extends TdApi.Function<TdApi.JsonValue>
Converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.

Returns JsonValue

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    The JSON-serialized string.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which converts a JSON-serialized string to corresponding JsonValue object.
    Creates a function, which converts a JSON-serialized string to corresponding JsonValue object.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • json

      public String json
      The JSON-serialized string.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetJsonValue

      public GetJsonValue()
      Default constructor for a function, which converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.

      Returns JsonValue

    • GetJsonValue

      public GetJsonValue(String json)
      Creates a function, which converts a JSON-serialized string to corresponding JsonValue object. Can be called synchronously.

      Returns JsonValue

      Parameters:
      json - The JSON-serialized string.
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR