Package org.drinkless.tdlib
Class TdApi.EnableProxy
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intproxyIdProxy identifier.
-
Constructor Summary
Constructors Constructor Description EnableProxy()Default constructor for a function, which enables a proxy.EnableProxy(int proxyId)Creates a function, which enables a proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
proxyId
public int proxyId
Proxy identifier.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EnableProxy
public EnableProxy()
Default constructor for a function, which enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.Returns
Ok
-
EnableProxy
public EnableProxy(int proxyId)
Creates a function, which enables a proxy. Only one proxy can be enabled at a time. Can be called before authorization.Returns
Ok- Parameters:
proxyId- Proxy identifier.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-