mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 17:07:22 +01:00
29 lines
683 B
Markdown
29 lines
683 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, ];
|
|
``` |