function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dzianis PuchkoDzianis Puchko 

livechat using deployment.js agent status control

Hi,

 

we faced an issue that we need to control if the liveagent is online or offline without setting up the HTML button. Is it possible to retrieve the information about agent status after we do liveagent.init() without passing the html buttons that will start the chat later?

 

thank you

VinayVinay (Salesforce Developers) 
Hi Dzianis,

I am afraid this might not be possible to control the button without passing the parameters.

Thanks,
Vinay Kumar