MadelineProtoDocs/old_docs/API_docs_v16/constructors/updateChannelTooLong.md

40 lines
1.1 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: updateChannelTooLong
description: There are new updates in the specified channel, the client must fetch them, eventually starting the specified pts if the difference is too long or if the channel isn't currently in the states.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChannelTooLong
[Back to constructors index](index.md)
There are new updates in the specified channel, the client must fetch them, eventually starting the specified pts if the difference is too long or if the channel isn't currently in the states.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[int](../types/int.md) | Yes|The channel|
|pts|[int](../types/int.md) | Optional|The [PTS](https://core.telegram.org/api/updates).|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int];
```
Or, if you're into Lua:
```lua
updateChannelTooLong={_='updateChannelTooLong', channel_id=int, pts=int}
```