Reputation: 1519
Can i ask twilio if a specific client is present -connected- or not without using Twilio presence event handler ? is there some api like client(name).present? predicate
Upvotes: 1
Views: 736
Reputation: 10366
Twilio evangelist here.
Unfortunately today there is no way to ask Twilio if a specific client is connected. The only way to know when a client comes online or goes offline is to listen to the presence event handler.
https://www.twilio.com/docs/api/client/device#presence
Please note this method has been deprecated in version 1.3 of twilio.js.
Hope that helps.
Upvotes: 1