tock / ai.tock.bot.engine.action / Action / jsonChoice

jsonChoice

fun <reified T : Any> jsonChoice(key: ParameterKey): T? (source)

Returns the value of the specified choice parameter, null if the user action is not a SendChoice or if this parameter is not set.