Recent searches
No recent searches
Offline Chat Not Received by Team
Posted Aug 03, 2021
Hi, (This issue is related to iOS)
The issue I am facing is that when iOS chat with ChatBot after operating hours, Dashboard doesn't send the complete chat like the image below. iOS only send the message I typed first so in the below image case iOS will show this :
13/07/2021, 11:20 pm Visitor: testing
I am using this code from the Demo app.
and this function to make sure that agent is online or not:
Chat.accountProvider?.getAccount { (result) in
switch result {
case .success(let account):
switch account.accountStatus {
case .online:
// There are agents available
self.departmentOrAgentStatus = true
default:
// No agents are available
self.departmentOrAgentStatus = false
}
case .failure(_):
// Something went wrong
self.departmentOrAgentStatus = false
}
}
0
1 comment
Greg Katechis
Hi Saad, this is actually expected behavior. The offline message functions by taking the first thing that you said and then Answer Bot is there to gather your information and add it to the ticket. This is not a chat in the sense that you're thinking, it's really just a one off message. The initial message that the customer sent is "testing", which correctly created the ticket for you to now respond to.
0