- Enclosing class:
- TdApi
Enables a proxy. Only one proxy can
be enabled at a time. Can be called before authorization.
Returns Ok
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEnables a proxy.EnableProxy
(int proxyId) Enables a proxy.EnableProxy
(DataInput input) Enables a proxy. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
proxyId
public int proxyIdProxy 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
Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-