MadelineProtoDocs/docs/API_docs/constructors/messageActionPhoneCall.md
2024-05-01 14:53:46 +02:00

1006 B

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

Constructor: messageActionPhoneCall

Back to constructors index

A phone call

Attributes:

Name Type Required Description
video Bool Optional Is this a video call?
call_id long Yes Call ID
reason PhoneCallDiscardReason Optional If the call has ended, the reason why it ended
duration int Optional Duration of the call in seconds

Type: MessageAction

Example:

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