launchChat

abstract fun launchChat(context: Context, triggerDialogueId: String? = null)

Opens the chat bot after connecting to the Kindly service. This method handles both the connection to the Kindly service and displaying the UI. It's the recommended way to launch the chat experience.

Parameters

context

Android context for launching the UI

triggerDialogueId

Optional ID of a dialogue to trigger after connection