tock / ai.tock.bot.test / BotBusMockContext / choice

choice

fun choice(intentName: String, vararg parameters: Pair<String, String>): SendChoice (source)
fun choice(intentName: String, step: StoryStep<out StoryHandlerDefinition>, vararg parameters: Pair<String, String>): SendChoice (source)
fun choice(intent: IntentAware, step: StoryStep<out StoryHandlerDefinition>, parameters: Parameters): SendChoice (source)
fun choice(intent: IntentAware, parameters: Parameters = Parameters()): SendChoice (source)

Create a choice for this context.