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

1.1 KiB

title description image
messageActionPhoneCall Message action phone call https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageActionPhoneCall

Back to constructors index

Message action phone call

Attributes:

Name Type Required Description
call_id long Yes Call ID
reason PhoneCallDiscardReason Optional Reason
duration int Optional Duration

Type: MessageAction

Example:

$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];

PWRTelegram json-encoded version:

{"_": "messageActionPhoneCall", "call_id": long, "reason": PhoneCallDiscardReason, "duration": int}

Or, if you're into Lua:

messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int}