KindlySDKConfig
public struct KindlySDKConfig : Loggable
Setup the Kindly SDK with your configuration.
Parameters
botKey
|
The key for your application. See the Kindly API docs for more. |
environment
|
Select the |
-
Optional callback invoked when the SDK needs an authentication token. Set this to provide JWT-based authentication for the chat session.
Declaration
Swift
public var getAuthToken: AuthTokenCallback? { get set } -
Whether the SDK is allowed to access the device camera for attachments. Defaults to
true.Declaration
Swift
public var allowCameraAccess: Bool -
Whether the SDK is allowed to access the photo library for attachments. Defaults to
true.Declaration
Swift
public var allowPhotoLibraryAccess: Bool -
Form-related configuration options.
Declaration
Swift
public var form: FormConfig -
Configuration for form behavior within the chat.
Declaration
Swift
public struct FormConfig
View on GitHub