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 |
---|---|---|---|
phoneCallDiscarded | Indicates a discarded phone call | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: phoneCallDiscarded
Indicates a discarded phone call
Attributes:
Name | Type | Required | Description |
---|---|---|---|
need_rating | Bool | Optional | Whether the server required the user to rate the call |
need_debug | Bool | Optional | Whether the server required the client to send the libtgvoip call debug data |
video | Bool | Optional | Whether the call was a video call |
id | long | Yes | Call ID |
reason | PhoneCallDiscardReason | Optional | Why was the phone call discarded |
duration | int | Optional | Duration of the phone call in seconds |
Type: PhoneCall
Example:
$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'video' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];