mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-04 11:07:51 +01:00
22 lines
821 B
Markdown
22 lines
821 B
Markdown
## Constructor: updates\_difference
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|new\_messages|Array of [Message](../types/Message.md) | Required|
|
|
|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required|
|
|
|other\_updates|Array of [Update](../types/Update.md) | Required|
|
|
|chats|Array of [Chat](../types/Chat.md) | Required|
|
|
|users|Array of [User](../types/User.md) | Required|
|
|
|state|[updates\_State](../types/updates\_State.md) | Required|
|
|
|
|
|
|
### Type: [updates\_Difference](../types/updates\_Difference.md)
|
|
|
|
### Example:
|
|
|
|
|
|
```
|
|
$updates_difference = ['new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ];
|
|
``` |