Skip to main content

phoneConnection

DEPRECATED (libtgvoip): Identifies an endpoint that can be used to connect to the other user in a phone call

type tg.PhoneConnection struct { /* ... */ }

Implements PhoneConnection.

Fields

NameTypeRequiredDescription
TCPboolWhether TCP should be used
IDint64yesEndpoint ID
IPstringyesIP address of endpoint
Ipv6stringyesIPv6 address of endpoint
PortintyesPort ID
PeerTag[]byteyesOur peer tag

References