tock / ai.tock.bot.definition / StoryStep / answer

answer

open fun answer(): T.() -> Any? (source)

The custom answer for this step. When returning a null value, it means that the step is not able to answer to the current request.

Default implementation returns null.