MadelineProtoDocs/old_docs/API_docs_v109/constructors/updates.differenceTooLong.md
2020-03-06 12:24:14 +01:00

1.0 KiB

title description image redirect_from
updates.differenceTooLong The difference is [too long](https://core.telegram.org/api/updates#recovering-gaps), and the specified state must be used to refetch updates. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/updates_differenceTooLong.html

Constructor: updates.differenceTooLong

Back to constructors index

The difference is too long, and the specified state must be used to refetch updates.

Attributes:

Name Type Required Description
pts int Yes The new state to use.

Type: updates.Difference

Example:

$updates.differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int];

Or, if you're into Lua:

updates.differenceTooLong={_='updates.differenceTooLong', pts=int}