2017-01-02 19:50:37 +01:00
|
|
|
---
|
2017-01-19 23:02:27 +01:00
|
|
|
title: updates.channelDifference
|
2017-01-02 19:50:37 +01:00
|
|
|
description: updates_channelDifference attributes, type and example
|
|
|
|
---
|
2017-01-19 23:02:27 +01:00
|
|
|
## Constructor: updates.channelDifference
|
2017-01-02 19:50:37 +01:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|pts|[int](../types/int.md) | Required|
|
|
|
|
|timeout|[int](../types/int.md) | Optional|
|
|
|
|
|new\_messages|Array of [Message](../types/Message.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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2017-01-19 23:02:27 +01:00
|
|
|
$updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
|
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
|
|
|
```
|
|
|
|
|