Module tdlight.api

Class TdApi.GetOption

Enclosing class:
TdApi

public static final class TdApi.GetOption extends TdApi.Function<TdApi.OptionValue>
Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization.

Returns OptionValue

  • Field Details

  • Constructor Details

    • GetOption

      public GetOption()
      Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization.

      Returns OptionValue

    • GetOption

      public GetOption(String name)
      Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization.

      Returns OptionValue

      Parameters:
      name - String The name of the option.
    • GetOption

      public GetOption(DataInput input) throws IOException
      Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization.

      Returns OptionValue

      Throws:
      IOException
  • Method Details