tock / ai.tock.bot.engine.action / SendChoice / encodeChoiceId

encodeChoiceId

fun encodeChoiceId(bus: Bus<*>, intent: IntentAware, step: StoryStep<out StoryHandlerDefinition>? = null, parameters: Map<String, String> = emptyMap()): String (source)
fun encodeChoiceId(bus: Bus<*>, intent: IntentAware, step: String? = null, parameters: Map<String, String> = emptyMap()): String (source)
fun encodeChoiceId(intent: IntentAware, step: StoryStep<out StoryHandlerDefinition>? = null, parameters: Map<String, String> = emptyMap(), busStep: StoryStep<out StoryHandlerDefinition>? = null, currentIntent: Intent? = null, sourceAppId: String? = null): String (source)
fun encodeChoiceId(intent: IntentAware, step: String?, parameters: Map<String, String>, busStep: String?, currentIntent: Intent?, sourceAppId: String? = null): String (source)

Encodes a choice id.