MadelineProtoDocs/old_docs/API_docs_v32/constructors/updatePhoneCall.md

39 lines
682 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: updatePhoneCall
description: An incoming phone call
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updatePhoneCall
[Back to constructors index](index.md)
An incoming phone call
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_call|[PhoneCall](../types/PhoneCall.md) | Optional|Phone call|
### Type: [Update](../types/Update.md)
### Example:
```php
$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall];
```
Or, if you're into Lua:
```lua
updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall}
```