Package org.drinkless.tdlib
Class TdApi.ProxyTypeMtproto
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ProxyType
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.StringsecretThe proxy's secret in hexadecimal encoding.
-
Constructor Summary
Constructors Constructor Description ProxyTypeMtproto()An MTProto proxy server.ProxyTypeMtproto(String secret)An MTProto proxy server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
secret
public String secret
The proxy's secret in hexadecimal encoding.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProxyTypeMtproto
public ProxyTypeMtproto()
An MTProto proxy server.
-
ProxyTypeMtproto
public ProxyTypeMtproto(String secret)
An MTProto proxy server.- Parameters:
secret- The proxy's secret in hexadecimal encoding.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-