MadelineProtoDocs/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md
2019-12-27 17:48:04 +01:00

970 B

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

Constructor: phoneCallDiscarded

Back to constructors index

Indicates a discarded phone call

Attributes:

Name Type Required Description
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', 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];

Or, if you're into Lua:

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