MadelineProtoDocs/old_docs/API_docs_v97/constructors/messageActionPhoneCall.md

41 lines
949 B
Markdown
Raw Normal View History

2019-05-03 21:10:09 +02:00
---
title: messageActionPhoneCall
description: Message action phone call
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionPhoneCall
[Back to constructors index](index.md)
Message action phone call
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|call\_id|[long](../types/long.md) | Yes|Call ID|
|reason|[PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md) | Optional|Reason|
|duration|[int](../types/int.md) | Optional|Duration|
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```php
$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];
```
Or, if you're into Lua:
```lua
messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int}
```