recover_gaps()¶
- async Client.recover_gaps()¶
Restores updates for the time while the client was offline.
Note
To use this method, you must set the
Client.skip_updatesandClient.in_memoryparameter to False, otherwise updates state saving and recovery will not work.Usable by Users Bots- Returns:
tuple– The number of messages and updates recovered is returned.