public static class TdApi.EditProxy extends TdApi.Function<TdApi.Proxy>
Returns Proxy
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
enable
Pass true to immediately enable the proxy.
|
int |
port
Proxy server port.
|
int |
proxyId
Proxy identifier.
|
java.lang.String |
server
Proxy server domain or IP address.
|
TdApi.ProxyType |
type
Proxy type.
|
| Constructor and Description |
|---|
EditProxy()
Default constructor for a function, which edits an existing proxy server for network requests.
|
EditProxy(int proxyId,
java.lang.String server,
int port,
boolean enable,
TdApi.ProxyType type)
Creates a function, which edits an existing proxy server for network requests.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int proxyId
public java.lang.String server
public int port
public boolean enable
public TdApi.ProxyType type
public static final int CONSTRUCTOR
public EditProxy()
Returns Proxy
public EditProxy(int proxyId,
java.lang.String server,
int port,
boolean enable,
TdApi.ProxyType type)
Returns Proxy
proxyId - Proxy identifier.server - Proxy server domain or IP address.port - Proxy server port.enable - Pass true to immediately enable the proxy.type - Proxy type.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object