I found the possibility to get the Availability of the Live Agent via REST API and it works fine.
I noticed when I set a live agent on Online, it returns Availability: true. Nice, this is how I expect it.
But when I set the live agent on Offline again, I still receive the same response, only like a minute(or 2) later, the availability is false.
Does somebody know why this is? Or maybe has a solution for a better check?
Goal: Show a message in my Einstein Bot based on if there is a Live Agent available or not.