- Enclosing class:
- TdApi
Enables a proxy. Only one proxy can
be enabled at a time. Can be called before authorization.
Returns
Ok-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnables 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
toStringMethods 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. ReturnsOk -
EnableProxy
public EnableProxy(int proxyId) Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization. ReturnsOk- Parameters:
proxyId- int Proxy identifier.
-
EnableProxy
Enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-