There is a callback on state-changes to users as well as items. More information on callbacks can be found here.

Did this answer your question?