MadelineProtoDocs/docs/API_docs/constructors/updateShort.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

46 lines
795 B
Markdown

---
title: updateShort
description: Update short
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateShort
[Back to constructors index](index.md)
Update short
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|update|[Update](../types/Update.md) | Yes|Update|
|date|[int](../types/int.md) | Yes|Date|
### Type: [Updates](../types/Updates.md)
### Example:
```php
$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "updateShort", "update": Update, "date": int}
```
Or, if you're into Lua:
```lua
updateShort={_='updateShort', update=Update, date=int}
```