Link Search Menu Expand Document

Constructor: phoneCallAccepted

Back to constructors index

An accepted phone call

Attributes:

NameTypeRequiredDescription
videoBoolOptionalWhether this is a video call
idlongYesID of accepted phone call
access_hashlongYesAccess hash of phone call
dateintYesWhen was the call accepted
admin_idlongYesID of the call creator
participant_idlongYesID of the other user in the call
g_bbytesYesB parameter for secure E2E phone call key exchange
protocolPhoneCallProtocolYesProtocol to use for phone call

Type: PhoneCall

Example:

$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'video' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => long, 'participant_id' => long, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol];