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. Can be called synchronously for options "version" and "commit_hash". 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. Can be called synchronously for options "version" and "commit_hash". 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. Can be called synchronously for options "version" and "commit_hash". 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. Can be called synchronously for options "version" and "commit_hash". Returns OptionValue
      Throws:
      IOException
  • Method Details