1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:06:56 +01:00
MadelineProto/docs/API_docs/constructors/updates.md

31 lines
688 B
Markdown

---
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, ];
```