mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 14:47:23 +01:00
43 lines
681 B
Markdown
43 lines
681 B
Markdown
|
---
|
||
|
title: updatePhoneCall
|
||
|
description: updatePhoneCall attributes, type and example
|
||
|
---
|
||
|
## Constructor: updatePhoneCall
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|phone\_call|[PhoneCall](../types/PhoneCall.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Update](../types/Update.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "updatePhoneCall", "phone_call": PhoneCall}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
updatePhoneCall={_='updatePhoneCall', phone_call=PhoneCall}
|
||
|
|
||
|
```
|
||
|
|
||
|
|