Constructor: phoneConnection
Identifies an endpoint that can be used to connect to the other user in a phone call
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| tcp | Bool | Optional | Whether TCP should be used |
| id | long | Yes | Endpoint ID |
| ip | string | Yes | IP address of endpoint |
| ipv6 | string | Yes | IPv6 address of endpoint |
| port | int | Yes | Port ID |
| peer_tag | string | Yes |
Type: PhoneConnection
Example:
$phoneConnection = ['_' => 'phoneConnection', 'tcp' => Bool, 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'string'];