public static class TdApi.ProxyTypeSocks5 extends TdApi.ProxyType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
password
Password for logging in; may be empty.
|
java.lang.String |
username
Username for logging in; may be empty.
|
| Constructor and Description |
|---|
ProxyTypeSocks5()
A SOCKS5 proxy server.
|
ProxyTypeSocks5(java.lang.String username,
java.lang.String password)
A SOCKS5 proxy server.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String username
public java.lang.String password
public static final int CONSTRUCTOR
public ProxyTypeSocks5()
public ProxyTypeSocks5(java.lang.String username,
java.lang.String password)
username - Username for logging in; may be empty.password - Password for logging in; may be empty.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object