tock / ai.tock.bot.definition / StoryDataStepBase / handler

handler

fun handler(): T.(D?) -> Any? (source)

The custom handler 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.