tock / ai.tock.bot.engine / BotBus / choice

choice

open fun choice(key: ParameterKey): String? (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.