Class TdApi.EnableProxy

Enclosing class:
TdApi

public static class TdApi.EnableProxy
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details