MadelineProtoDocs/docs/API_docs/constructors/phoneCallRequested.md
2024-05-01 14:53:46 +02:00

1.4 KiB

title description nav_exclude image
phoneCallRequested Requested phone call true 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 long Yes ID of the creator of the phone call
participant_id long 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' => long, 'participant_id' => long, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol];