From e0e1f23710dedd51f196b38f0ff4807b46a5a5b7 Mon Sep 17 00:00:00 2001 From: Ouadie Lahdioui Date: Thu, 17 May 2018 14:52:44 +0200 Subject: [PATCH] Improve doc : Add thread owner API section --- docs/readme-facebook.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/readme-facebook.md b/docs/readme-facebook.md index c7998d32e..a7f2932e4 100644 --- a/docs/readme-facebook.md +++ b/docs/readme-facebook.md @@ -649,6 +649,17 @@ controller.api.handover.request_thread_control('', 'String to pa }); ``` +### Get Thread Owner + +Th Thread Owner API returns the app ID of the app the currently has thread control for a Page : + +- To get the app ID of the current thread owner : +```javascript +controller.api.handover.get_thread_owner('', function (result) { + +}); +``` + ## Messaging type