MadelineProtoDocs/old_docs/API_docs_v91/constructors/phoneCallRequested.md
2019-03-08 13:49:23 +01:00

1.5 KiB

title description image
phoneCallRequested Phone call requested https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: phoneCallRequested

Back to constructors index

Phone call requested

Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash
date int Yes Date
admin_id int Yes Admin ID
participant_id int Yes Participant ID
g_a_hash bytes Yes G a hash
protocol PhoneCallProtocol Yes Protocol

Type: PhoneCall

Example:

$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol];

PWRTelegram json-encoded version:

{"_": "phoneCallRequested", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "protocol": PhoneCallProtocol}

Or, if you're into Lua:

phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol}