Callback if user or channel state fails to load
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.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.