Type Aliases

The following type aliases are available globally.

  • Callback for providing an authentication token to the SDK. The SDK calls this with the current chatId and a Promise that you must fulfill with a valid JWT token string.

    Declaration

    Swift

    public typealias AuthTokenCallback = (_ chatId: String, _ promise: Promise<String>) -> Void
  • Undocumented

    Declaration

    Swift

    public typealias KindlySDK = KindlyChatClient