MadelineProtoDocs/old_docs/API_docs_v103/constructors/phoneCallDiscarded.md
2019-08-15 20:25:16 +02:00

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?
video Bool Optional Video call?
id long Yes ID
reason PhoneCallDiscardReason Optional Reason
duration int Optional Duration

Type: PhoneCall

Example:

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

Or, if you're into Lua:

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