mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 21:07:47 +01:00
31 lines
688 B
Markdown
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, ];
|
|
```
|
|
|