mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 22:17:45 +01:00
1.5 KiB
1.5 KiB
title | description |
---|---|
phoneCall | phoneCall attributes, type and example |
Constructor: phoneCall
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, }