Skip to main content

phoneConnectionWebrtc

WebRTC connection parameters for a phone call.

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

Implements PhoneConnection.

Fields

NameTypeRequiredDescription
TurnboolWhether this is a TURN endpoint
StunboolWhether this is a STUN endpoint
IDint64yesEndpoint ID
IPstringyesIP address
Ipv6stringyesIPv6 address
PortintyesPort
UsernamestringyesUsername
PasswordstringyesPassword

References