What *all events* from tracker are fed to policy models to predict next event?

What are all the events from tracker that are used for predicting next event? Is UserUttered used? Is UserUtteranceReverted used? If I want to write custom events, and don’t want to use them for predicting next actions, how would I go about?

this is the documentation on core featurization: Featurization

this is the method that is responsible for converting tracker to states:rasa/domain.py at 994527ca9bfec0c35e3b79f7320df029bf423600 · RasaHQ/rasa · GitHub