public static class TdApi.CallServer extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
id
Server identifier.
|
java.lang.String |
ipAddress
Server IPv4 address.
|
java.lang.String |
ipv6Address
Server IPv6 address.
|
int |
port
Server port number.
|
TdApi.CallServerType |
type
Server type.
|
Constructor and Description |
---|
CallServer()
Describes a server for relaying call data.
|
CallServer(long id,
java.lang.String ipAddress,
java.lang.String ipv6Address,
int port,
TdApi.CallServerType type)
Describes a server for relaying call data.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public java.lang.String ipAddress
public java.lang.String ipv6Address
public int port
public TdApi.CallServerType type
public static final int CONSTRUCTOR
public CallServer()
public CallServer(long id, java.lang.String ipAddress, java.lang.String ipv6Address, int port, TdApi.CallServerType type)
id
- Server identifier.ipAddress
- Server IPv4 address.ipv6Address
- Server IPv6 address.port
- Server port number.type
- Server type.public int getConstructor()
getConstructor
in class TdApi.Object