openChat

fun openChat(context: Context, androidIntentExtras: Bundle? = null, asappIntent: Map<String, Any>? = null, genAgentTaskName: String? = null, genAgentInputVariables: Map<String, Any>? = null, gacsBranch: String? = null)

The entry point to the Chat experience.

Parameters

context

The current Activity context.

androidIntentExtras

(optional) The notification payload (Intent Bundle), if it exists.

asappIntent

(optional) The ASAPP Intent metadata.

genAgentTaskName

(optional) The GenAgent task name to run for this conversation.

genAgentInputVariables

(optional) Input variables passed to the GenAgent task.

gacsBranch

(optional) The GACS branch to target for GenAgent. Sent as GenAgentOptions.