MadelineProto/old_docs/API_docs_v65/constructors/phoneCall.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.8 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];

PWRTelegram json-encoded version:

{"_": "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}