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
| Name | Type | Required | Description |
|---|---|---|---|
TCP | bool | — | Whether TCP should be used |
ID | int64 | yes | Endpoint ID |
IP | string | yes | IP address of endpoint |
Ipv6 | string | yes | IPv6 address of endpoint |
Port | int | yes | Port ID |
PeerTag | []byte | yes | Our peer tag |
References
- Official documentation
- Generated Go reference
- TL definition:
phoneConnection#9cc123c7