Constructor: messageActionPhoneCall
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];