Is there a way to delegate the current conversation that a Messenger Platform bot is having to another person through the API? I could not find anything in the documentation.
If no, what’s the best way to handle the use case where a person asks the bot to talk to a live person?
2
Answers
If you’d like to send message from one user to another, both user needs to be signed in to your bot, then User A needs to specify to which user he’d like to send a message, after that bot can send message to User B, because you know User A and User B Messenger IDs.
Sending messages to not signed in users is not possible.
You can use the handover protocol to pass thread control to the page inbox, where a live person can respond.
https://developers.facebook.com/docs/messenger-platform/handover-protocol/pass-thread-control