Class TdApi.CallServerTypeTelegramReflector
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.CallServerType
dev.voroby.springframework.telegram.client.TdApi.CallServerTypeTelegramReflector
- Enclosing class:
- TdApi
A Telegram call reflector.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the server uses TCP instead of UDP.byte[]
A peer tag to be used with the reflector. -
Constructor Summary
ConstructorDescriptionA Telegram call reflector.CallServerTypeTelegramReflector
(byte[] peerTag, boolean isTcp) A Telegram call reflector. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
peerTag
public byte[] peerTagA peer tag to be used with the reflector. -
isTcp
public boolean isTcpTrue, if the server uses TCP instead of UDP. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CallServerTypeTelegramReflector
public CallServerTypeTelegramReflector()A Telegram call reflector. -
CallServerTypeTelegramReflector
public CallServerTypeTelegramReflector(byte[] peerTag, boolean isTcp) A Telegram call reflector.- Parameters:
peerTag
- A peer tag to be used with the reflector.isTcp
- True, if the server uses TCP instead of UDP.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-