MadelineProtoDocs/old_docs/API_docs_v13/constructors/updateChannelTooLong.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: updateChannelTooLong
2020-10-01 20:29:43 +02:00
description: There are new updates in the specified channel, the client must fetch them.
2020-06-16 17:50:25 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChannelTooLong
[Back to constructors index](index.md)
2020-10-01 20:29:43 +02:00
There are new updates in the specified channel, the client must fetch them.
If the difference is too long or if the channel isn't currently in the states, start fetching from the specified pts.
2020-06-16 17:50:25 +02:00
### 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}
```