Constructor: messageActionPhoneCall

Back to constructors index

A phone call


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


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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.