Structures

The following structures are available globally.

  • Setup the Kindly SDK with your configuration.

    Declaration

    Swift

    public struct CoreSDKConfig : Loggable

    Parameters

    botKey

    The key for your application. See the Kindly API docs for more.

    environment

    Select the ServerEnvironment the API should target. Default value is production.

  • Setup the Kindly SDK with your configuration.

    See more

    Declaration

    Swift

    public struct KindlySDKConfig : Loggable

    Parameters

    botKey

    The key for your application. See the Kindly API docs for more.

    environment

    Select the ServerEnvironment the API should target. Default value is production.

  • Bot

    A chat bot the user can interact with.

    See more

    Declaration

    Swift

    public struct Bot
  • Undocumented

    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 more

    Declaration

    Swift

    public struct ExternalChatMessage : Hashable, Identifiable, Comparable
  • Undocumented

    Declaration

    Swift

    public struct OEmbedRespnse : Decodable
  • Default theme.

    Contains fallback values.

    See more

    Declaration

    Swift

    public struct KindlyTheme : Theme

Custom Themes