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

nametypedescription
flags#Flags, see TL conditional fields
tcpflags.0?trueWhether TCP should be used
idlongEndpoint ID
ipstringIP address of endpoint
ipv6stringIPv6 address of endpoint
portintPort ID
peer_tagbytesOur peer tag

type

PhoneConnection · other constructors: phoneConnectionWebrtc

history

present in layers 62–229 · constructor id changed 1×

idlayers
#9d4c17c062–140
#9cc123c7142–229