0

I have created chatbot for messenger and now i want to add function when user unsubscribes chatbot then it must send all messages to page with notification. I thought to create table where i will save users who unsubscribed and everytime check if user unsubscribed or not. When unsubscribed then just return 200. But it doesn't send notification to facebook page.

MRustamzade
  • 1,425
  • 14
  • 27

1 Answers1

1

You can use the handover protocol to pass control of the chat to the page inbox for unsubscribed users.

https://developers.facebook.com/docs/messenger-platform/handover-protocol

amuramoto
  • 2,838
  • 1
  • 11
  • 15