MadelineProtoDocs/old_docs/API_docs_v8/constructors/updates.channelDifferenceEmpty.md

42 lines
1.2 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: updates.channelDifferenceEmpty
description: There are no new updates
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/updates_channelDifferenceEmpty.html
---
# Constructor: updates.channelDifferenceEmpty
[Back to constructors index](index.md)
There are no new updates
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|final|[Bool](../types/Bool.md) | Optional|Whether there are more updates that must be fetched (always false)|
|pts|[int](../types/int.md) | Yes|The latest [PTS](https://core.telegram.org/api/updates)|
|timeout|[int](../types/int.md) | Optional|Clients are supposed to refetch the channel difference after timeout seconds have elapsed|
### Type: [updates.ChannelDifference](../types/updates.ChannelDifference.md)
### Example:
```php
$updates.channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int];
```
Or, if you're into Lua:
```lua
updates.channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int}
```