I tried implementing FB handover protocol in Microsoft Bot Framework, however i'm having issues on how to pass thread control
Scenario
When user types 'agent' in the chat, the bot should stop responding and all messages should be forwarded to the page inbox so that an active human agent can respond to the user.
The solution would be to pass thread control to the page inbox so that an agent can reply.
Any idea on how to do this
Thanks