diff --git a/Sources/KoreBotSDK/AppKit/Common/BotConnect.swift b/Sources/KoreBotSDK/AppKit/Common/BotConnect.swift index 9057a566..7fe3a7e4 100644 --- a/Sources/KoreBotSDK/AppKit/Common/BotConnect.swift +++ b/Sources/KoreBotSDK/AppKit/Common/BotConnect.swift @@ -54,6 +54,8 @@ open class BotConnect: NSObject { botViewController.closeAndMinimizeEvent = { [weak self] (Dic) in if let dic = Dic { + let jsonString = Utilities.stringFromJSONObject(object: dic) + NotificationCenter.default.post(name: Notification.Name("ChatbotCallBackNotification"), object: jsonString) if self?.closeOrMinimizeEvent != nil{ self?.closeOrMinimizeEvent(dic) }