1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 07:07:20 +01:00
MadelineProto/old_docs/API_docs_v51/constructors/updates.md

31 lines
688 B
Markdown
Raw Normal View History

---
title: updates
description: updates attributes, type and example
---
## Constructor: updates
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|updates|Array of [Update](../types/Update.md) | Required|
|users|Array of [User](../types/User.md) | Required|
|chats|Array of [Chat](../types/Chat.md) | Required|
|date|[int](../types/int.md) | Required|
|seq|[int](../types/int.md) | Required|
### Type: [Updates](../types/Updates.md)
### Example:
```
$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ];
```