phoneConnectionWebrtc
WebRTC connection parameters for a phone call.
type tg.PhoneConnectionWebrtc struct { /* ... */ }
Implements PhoneConnection.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Turn | bool | — | Whether this is a TURN endpoint |
Stun | bool | — | Whether this is a STUN endpoint |
ID | int64 | yes | Endpoint ID |
IP | string | yes | IP address |
Ipv6 | string | yes | IPv6 address |
Port | int | yes | Port |
Username | string | yes | Username |
Password | string | yes | Password |
References
- Official documentation
- Generated Go reference
- TL definition:
phoneConnectionWebrtc#635fe375