mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
31 lines
792 B
Markdown
31 lines
792 B
Markdown
|
---
|
||
|
title: "updateShort"
|
||
|
description: "Shortened constructor containing info on one update not requiring auxiliary data"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: updateShort
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Shortened constructor containing info on one update not requiring auxiliary data
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|update|[Update](/API_docs/types/Update.html) | Yes|Update|
|
||
|
|date|[int](/API_docs/types/int.html) | Yes|Date of event|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Updates](/API_docs/types/Updates.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int];
|
||
|
```
|