MadelineProto/old_docs/API_docs_v25/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, ];
```