public static class TdApi.CallProtocol extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String[] |
libraryVersions
List of supported tgcalls versions.
|
int |
maxLayer
The maximum supported API layer; use 65.
|
int |
minLayer
The minimum supported API layer; use 65.
|
boolean |
udpP2p
True, if UDP peer-to-peer connections are supported.
|
boolean |
udpReflector
True, if connection through UDP reflectors is supported.
|
Constructor and Description |
---|
CallProtocol()
Specifies the supported call protocols.
|
CallProtocol(boolean udpP2p,
boolean udpReflector,
int minLayer,
int maxLayer,
java.lang.String[] libraryVersions)
Specifies the supported call protocols.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public boolean udpP2p
public boolean udpReflector
public int minLayer
public int maxLayer
public java.lang.String[] libraryVersions
public static final int CONSTRUCTOR
public CallProtocol()
public CallProtocol(boolean udpP2p, boolean udpReflector, int minLayer, int maxLayer, java.lang.String[] libraryVersions)
udpP2p
- True, if UDP peer-to-peer connections are supported.udpReflector
- True, if connection through UDP reflectors is supported.minLayer
- The minimum supported API layer; use 65.maxLayer
- The maximum supported API layer; use 65.libraryVersions
- List of supported tgcalls versions.public int getConstructor()
getConstructor
in class TdApi.Object