Recent searches


No recent searches

Offline Chat Not Received by Team

Answered


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.

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 comment

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post