Open conversation by id

Opens a conversation based on the conversationId.

You can open a conversation by the conversation id if the id is valid and belongs to a current customer in your Kustomer organization. If a conversation id is not valid, an error will be returned.

Kustomer.openConversation(id: "ID", completion: { result in
  switch result {
    case .success(let conversation):
      print(conversation.id)
    case .failure(let error):
      print(error)
  }
})

Did this page help you?