Chat Javascript API - How to tell if agent online?
resolver
That makes sense, Mark.
Unfortunately, I can't think of any workarounds for that use case with the available methods.
The product team certainly wants to make the Conversations JavaScript API more robust and useful, though, so I recommend upvoting and commenting on this feature request. I just threw an upvote on there myself.
As you noted, the Conversations JavaScript API currently doesn't contain methods relating to agent status or activity. We'll have to think creatively.
If you set the chat launcher to hide when all agents are away (see screenshot below) then the widget.status will be false and you can use JavaScript to hide or reveal different content. Would something like that work?
Chat Javascript API - How to tell if agent online?
resolver
Thanks for you response. It would technically work however we still want Chat to be available to visitors even if all Agents are offline (so we can capture offline messages for follow up later). Any other Ideas?
Chat Javascript API - How to tell if agent online?
resolver
That makes sense, Mark.
Unfortunately, I can't think of any workarounds for that use case with the available methods.
The product team certainly wants to make the Conversations JavaScript API more robust and useful, though, so I recommend upvoting and commenting on this feature request. I just threw an upvote on there myself.