Class TdApi.GetThemeParametersJsonString

Enclosing class:
TdApi

public static 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()
      Default constructor for a function, which converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously.

      Returns Text

    • GetThemeParametersJsonString

      public GetThemeParametersJsonString(TdApi.ThemeParameters theme)
      Creates a function, which converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously.

      Returns Text

      Parameters:
      theme - Theme parameters to convert to JSON.
  • 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