MadelineProtoDocs/old_docs/API_docs_v95/constructors/phoneCallDiscarded.md

1.1 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];

Or, if you're into Lua:

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