mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
phoneCallRequested | Requested phone call | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: phoneCallRequested
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];