Link Search Menu Expand Document

Constructor: phoneConnection

Back to constructors index

Identifies an endpoint that can be used to connect to the other user in a phone call

Attributes:

NameTypeRequiredDescription
tcpBoolOptionalWhether TCP should be used
idlongYesEndpoint ID
ipstringYesIP address of endpoint
ipv6stringYesIPv6 address of endpoint
portintYesPort ID
peer_tagstringYes

Type: PhoneConnection

Example:

$phoneConnection = ['_' => 'phoneConnection', 'tcp' => Bool, 'id' => long, 'ip' => 'string', 'ipv6' => 'string', 'port' => int, 'peer_tag' => 'string'];