최근 검색


최근 검색 없음

Offline Chat Not Received by Team

답변함


2021년 8월 03일에 게시됨

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.

https://develop.zendesk.com/hc/en-us/community/posts/1260801137850-Connection-Failed-Error-For-Chat-iOS-SDK-V2 

 

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

댓글 1개

image avatar

Greg Katechis

Zendesk Developer Advocacy

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물