MadelineProtoDocs/old_docs/API_docs_v104/constructors/phoneCallRequested.md
2019-12-27 17:48:04 +01:00

1.5 KiB

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

Constructor: phoneCallRequested

Back to constructors index

Requested phone call

Attributes:

Name Type Required Description
video Bool Optional Whether this is a video call
id long Yes Phone call ID
access_hash long Yes Access hash
date int Yes When was the phone call created
admin_id int Yes ID of the creator of the phone call
participant_id int Yes ID of the other participant of the phone call
g_a_hash bytes Yes Parameter for key exchange
protocol PhoneCallProtocol Yes Call protocol info to be passed to libtgvoip

Type: PhoneCall

Example:

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

Or, if you're into Lua:

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