MadelineProto/docs/API_docs/constructors/phoneCall.md

1.2 KiB

title description
phoneCall phoneCall attributes, type and example

Constructor: phoneCall

Back to constructors index

Attributes:

Name Type Required
id long Required
access_hash long Required
date int Required
admin_id int Required
participant_id int Required
g_a_or_b bytes Required
key_fingerprint long Required
protocol PhoneCallProtocol Required
connection PhoneConnection Required
alternative_connections Array of PhoneConnection Required
start_date int Required

Type: PhoneCall

Example:

$phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [Vector t], 'start_date' => int, ];