Structures
The following structures are available globally.
-
Setup the Kindly SDK with your configuration.
Declaration
Swift
public struct CoreSDKConfig : LoggableParameters
botKeyThe key for your application. See the Kindly API docs for more.
environmentSelect the
ServerEnvironmentthe API should target. Default value isproduction. -
Setup the Kindly SDK with your configuration.
See moreDeclaration
Swift
public struct KindlySDKConfig : LoggableParameters
botKeyThe key for your application. See the Kindly API docs for more.
environmentSelect the
ServerEnvironmentthe API should target. Default value isproduction. -
A chat button passed to the delegate when a user interacts with buttons in the chat.
Declaration
Swift
public struct ExternalChatButton -
ChatMessage represents both sent and received messages.
Messages supports a variety of different content. For example images, buttons and attachments.
See moreDeclaration
Swift
public struct ExternalChatMessage : Hashable, Identifiable, Comparable
-
Main event structure emitted by the Kindly SDK
See moreDeclaration
Swift
public struct KindlyEvent
-
Settings data for load events
See moreDeclaration
Swift
public struct KindlyEventSettings -
Language data for events
See moreDeclaration
Swift
public struct KindlyEventLanguage -
Style data for events
See moreDeclaration
Swift
public struct KindlyEventStyle -
Message data for events
See moreDeclaration
Swift
public struct KindlyEventMessage -
Button data for events
See moreDeclaration
Swift
public struct KindlyEventButton -
Image data for events
See moreDeclaration
Swift
public struct KindlyEventImage -
Attachment data for events
See moreDeclaration
Swift
public struct KindlyEventAttachment -
UI action data for events
See moreDeclaration
Swift
public struct KindlyEventUIAction -
Global icon action data for events
See moreDeclaration
Swift
public struct KindlyEventGlobalIcon -
State data for events
See moreDeclaration
Swift
public struct KindlyEventState -
Internal typing event that can be emitted and listened to
See moreDeclaration
Swift
public struct TypingEvent
View on GitHub
Structures Reference