Right now it is not possible to tell if the updates manager failed to load user or channel state from the state storage.
It would be possible to do that if the updates.Config
configuration had a couple of extra callbacks similar to OnChannelTooLong
. They could for example be called OnLoadUserStateFailed
and OnLoadChannelStateFailed
. They would be called when updates.Manager.Auth
is called with forget=false
and the updates manager fails to load the user state or one of the channel states.
Such a feature would be useful if the API user wants to know whether the state was restored successfully or a manual synchronization must be done through MessagesGetHistory
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too