MadelineProtoDocs/docs/API_docs/constructors/updateShort.md

31 lines
792 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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];
```