telegram api constructor · layer 229 · #30535af5

phoneCall

Phone call

definition

phoneCall#30535af5 flags:# p2p_allowed:flags.5?true video:flags.6?true conference_supported:flags.8?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector<PhoneConnection> start_date:int custom_parameters:flags.7?DataJSON = PhoneCall;

parameters

nametypedescription
flags#Flags, see TL conditional fields
p2p_allowedflags.5?trueWhether P2P connection to the other peer is allowed
videoflags.6?trueWhether this is a video call
conference_supportedflags.8?trueIf set, the other party supports upgrading of the call to a conference call.
idlongCall ID
access_hashlongAccess hash
dateintDate of creation of the call
admin_idlongUser ID of the creator of the call
participant_idlongUser ID of the other participant in the call
g_a_or_bbytesParameter for key exchange
key_fingerprintlongKey fingerprint
protocolPhoneCallProtocolCall protocol info to be passed to libtgvoip
connectionsVector<PhoneConnection>List of endpoints the user can connect to exchange call data
start_dateintWhen was the call actually started
custom_parametersflags.7?DataJSONCustom JSON-encoded call parameters to be passed to tgcalls.

type

PhoneCall · other constructors: phoneCallEmpty, phoneCallWaiting, phoneCallRequested, phoneCallAccepted, phoneCallDiscarded

history

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

idlayers
#ffe6ab6762–87
#e6f9ddf388–97
#8742ae7f98–132
#967f7c67133–176
#30535af5177–195
#3ba5940c196–201
#30535af5202–229