MadelineProto/old_docs/API_docs_v65/constructors/phoneCall.md
Daniil Gentili 1eb2fc0b4f fix
2017-04-21 13:27:04 +02:00

1.5 KiB

title description
phoneCall phoneCall attributes, type and example

Constructor: phoneCall

Back to constructors index

Attributes:

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

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' => [PhoneConnection], 'start_date' => int, ];

Or, if you're into Lua:

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={PhoneConnection}, start_date=int, }