Skip to content

Commit

Permalink
feat(migration): progress with startChat signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoguzmana committed Dec 12, 2023
1 parent 4604e2e commit 9edec9a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ios/ZendeskUnified.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,29 @@ class ZendeskUnified: NSObject {
initializeChat(accountKey: accountKey)
}

// @objc(startChat:withMultilineResponseOptionsEnabled:withAgentAvailabilityEnabled:withTranscriptEnabled:withOfflineFormsEnabled:withPreChatFormEnabled:withPreChatFormOptions:withResolver:withRejecter:)
// func startChat(
// botName: String?,
// multilineResponseOptionsEnabled: Bool?,
// agentAvailabilityEnabled: Bool?,
// transcriptEnabled: Bool?,
// offlineFormsEnabled: Bool?,
// preChatFormEnabled: Bool?,
// resolve: RCTPromiseResolveBlock,
// reject: RCTPromiseRejectBlock
// ) -> Void {
// startChat(
// botName: botName,
// multilineResponseOptionsEnabled: multilineResponseOptionsEnabled,
// agentAvailabilityEnabled: agentAvailabilityEnabled,
// transcriptEnabled: transcriptEnabled,
// offlineFormsEnabled: offlineFormsEnabled,
// preChatFormEnabled: preChatFormEnabled,
// preChatFormOptions: preChatFormOptions
// )
// }


// AsyncFunction("startChat") { (
// botName: String?,
// multilineResponseOptionsEnabled: Bool?,
Expand Down

0 comments on commit 9edec9a

Please sign in to comment.