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

1.0 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
id long Yes ID
reason PhoneCallDiscardReason Optional Reason
duration int Optional Duration

Type: PhoneCall

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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