Constructor: phoneConnection

Back to constructors index

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


Name Type Required Description
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 bytes Yes Our peer tag

Type: PhoneConnection


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

Or, if you’re into Lua:

phoneConnection={_='phoneConnection', id=long, ip='string', ipv6='string', port=int, peer_tag='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.