MadelineProtoDocs/old_docs/API_docs_v105/constructors/updateChannelTooLong.md

40 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2019-09-13 17:13:55 +02:00
---
title: updateChannelTooLong
2019-12-27 17:48:04 +01:00
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.
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChannelTooLong
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
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.
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|channel\_id|[int](../types/int.md) | Yes|The channel|
|pts|[int](../types/int.md) | Optional|The [PTS](https://core.telegram.org/api/updates).|
2019-09-13 17:13:55 +02:00
### 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}
```