MadelineProtoDocs/old_docs/API_docs_v82/constructors/updates.differenceTooLong.md
2019-12-27 18:46:25 +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}