2017-01-02 19:50:37 +01:00
|
|
|
---
|
|
|
|
title: updates_differenceSlice
|
|
|
|
description: updates_differenceSlice attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: updates\_differenceSlice
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|new\_messages|Array of [MTMessage](../types/MTMessage.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|
|
|
|
|
|intermediate\_state|[updates\_State](../types/updates_State.md) | Required|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [updates\_Difference](../types/updates_Difference.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ];
|
Added docs for layer 18, 23, 25, 27, 33, 38, 40, 41, 42, 44, 45, 46, 51, 53, 55
2017-01-02 21:04:36 +01:00
|
|
|
```
|
|
|
|
|