updates.channelDifferenceTooLong
The passed pts is too old: one or more updates starting from the specified PTS were deleted from the message box of this channel. For supergroups/channels, this usually happens for updates older than latestPts - 100000 (though do not rely on this value, it's a server-side implementation detail that may change, and should not be used by clients in any way).
type tg.UpdatesChannelDifferenceTooLong struct { /* ... */ }
Implements updates.ChannelDifference.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Final | bool | — | Whether there are more updates that must be fetched (always set) |
Timeout | int | — | Clients are supposed to refetch the channel difference after timeout seconds have elapsed |
Dialog | DialogClass | yes | Dialog containing the latest PTS that can be used to reset the channel state |
Messages | []MessageClass | yes | The latest messages (not starting from the passed pts, just the latest messages). |
Chats | []ChatClass | yes | Chats from messages |
Users | []UserClass | yes | Users from messages |
References
- Official documentation
- Generated Go reference
- TL definition:
updates.channelDifferenceTooLong#a4bcc6fe