telegram api constructor · layer 229 · #9cc123c7
phoneConnection
Identifies an endpoint that can be used to connect to the other user in a phone call
definition
phoneConnection#9cc123c7 flags:# tcp:flags.0?true id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
tcp | true | Whether TCP should be used |
id | long | Endpoint ID |
ip | string | IP address of endpoint |
ipv6 | string | IPv6 address of endpoint |
port | int | Port ID |
peer_tag | bytes | Our peer tag |
type
PhoneConnection · other constructors: phoneConnectionWebrtc
history
present in layers 62–229 · constructor id changed 1×
| id | layers |
|---|---|
| #9d4c17c0 | 62–140 |
| #9cc123c7 | 142–229 |