Module tdlight.api

Class TdApi.EnableProxy

Enclosing class:
TdApi

public static final class TdApi.EnableProxy extends TdApi.Function<TdApi.Ok>
Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization. Returns Ok
  • Field Details

    • proxyId

      public int proxyId
      Proxy identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • EnableProxy

      public EnableProxy()
      Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization. Returns Ok
    • EnableProxy

      public EnableProxy(int proxyId)
      Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization. Returns Ok
      Parameters:
      proxyId - int Proxy identifier.
    • EnableProxy

      public EnableProxy(DataInput input) throws IOException
      Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization. Returns Ok
      Throws:
      IOException
  • Method Details