MadelineProtoDocs/old_docs/API_docs_v82/constructors/phoneCallDiscarded.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

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

Constructor: phoneCallDiscarded

Back to constructors index

Phone call discarded

Attributes:

Name Type Required Description
need_rating Bool Optional Need rating?
need_debug Bool Optional Need debug?
id long Yes ID
reason PhoneCallDiscardReason Optional Reason
duration int Optional Duration

Type: PhoneCall

Example:

$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];

PWRTelegram json-encoded version:

{"_": "phoneCallDiscarded", "need_rating": Bool, "need_debug": Bool, "id": long, "reason": PhoneCallDiscardReason, "duration": int}

Or, if you're into Lua:

phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int}