Link Search Menu Expand Document

Constructor: messageActionPhoneCall

Back to constructors index

A phone call

Attributes:

NameTypeRequiredDescription
videoBoolOptionalIs this a video call?
call_idlongYesCall ID
reasonPhoneCallDiscardReasonOptionalIf the call has ended, the reason why it ended
durationintOptionalDuration of the call in seconds

Type: MessageAction

Example:

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