Package it.tdlight.jni
Class TdApi.ProxyTypeMtproto
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ProxyType
it.tdlight.jni.TdApi.ProxyTypeMtproto
- Enclosing class:
- TdApi
public static class TdApi.ProxyTypeMtproto extends TdApi.ProxyType
An MTProto proxy server.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
secret
The proxy's secret in hexadecimal encoding. -
Constructor Summary
Constructors Constructor Description ProxyTypeMtproto()
An MTProto proxy server.ProxyTypeMtproto(DataInput input)
ProxyTypeMtproto(String secret)
An MTProto proxy server. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
secret
The proxy's secret in hexadecimal encoding. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ProxyTypeMtproto
public ProxyTypeMtproto()An MTProto proxy server. -
ProxyTypeMtproto
An MTProto proxy server.- Parameters:
secret
- String The proxy's secret in hexadecimal encoding.
-
ProxyTypeMtproto
- 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()
-