最近搜索
没有最近搜索

Saad Ullah
已加入2021年10月16日
·
最后活动2023年12月27日
关注
0
关注者
0
活动总数
4
投票
0
订阅
2
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Saad Ullah
Saad Ullah 创建了一个帖子,
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
}
}
已于 2021年8月03日 发布 · Saad Ullah
0
关注者
3
投票
1
Comment