Class TdApi.SetOption

Enclosing class:
TdApi

public static class TdApi.SetOption
extends TdApi.Function
Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization.

Returns Ok

  • Field Details

  • Constructor Details

    • SetOption

      public SetOption()
      Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization.

      Returns Ok

    • SetOption

      public SetOption​(String name, TdApi.OptionValue value)
      Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization.

      Returns Ok

      Parameters:
      name - String The name of the option.
      value - OptionValue The new value of the option.
    • SetOption

      public SetOption​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details