I want to define custom “_has_session_expired” method based on user order status instead of session expired. So that the user can see the whole session conversation on that order status and can start a new session whenever their order status changes.
I also checked Agent Class code there we can define our processor
If MessageProcessor not possible then How can I define my custom Agent and use that Agent in my rest webhook?