1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 11:46:55 +01:00
MadelineProto/docs/API_docs/constructors/updates_differenceSlice.md

32 lines
1.0 KiB
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
2017-01-19 23:02:27 +01:00
title: updates.differenceSlice
2016-12-20 13:32:11 +01:00
description: updates_differenceSlice attributes, type and example
2016-12-20 13:15:22 +01:00
---
2017-01-19 23:02:27 +01:00
## Constructor: updates.differenceSlice
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### 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|
2016-12-19 18:35:27 +01:00
|intermediate\_state|[updates\_State](../types/updates_State.md) | Required|
2016-12-19 18:56:05 +01:00
### Type: [updates\_Difference](../types/updates_Difference.md)
### Example:
```
2017-01-19 23:02:27 +01:00
$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, ];
```