Module tdlight.api

Class TdApi.GetThemeParametersJsonString

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Text>
it.tdlight.jni.TdApi.GetThemeParametersJsonString
Enclosing class:
TdApi

public static final class TdApi.GetThemeParametersJsonString extends TdApi.Function<TdApi.Text>
Converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously.

Returns Text

  • Field Details

    • theme

      public TdApi.ThemeParameters theme
      Theme parameters to convert to JSON.
    • CONSTRUCTOR

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

    • GetThemeParametersJsonString

      public GetThemeParametersJsonString()
      Converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously.

      Returns Text

    • GetThemeParametersJsonString

      public GetThemeParametersJsonString(TdApi.ThemeParameters theme)
      Converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously.

      Returns Text

      Parameters:
      theme - Theme parameters to convert to JSON.

      Returns Text

    • GetThemeParametersJsonString

      public GetThemeParametersJsonString(DataInput input) throws IOException
      Converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously.

      Returns Text

      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object