tock / ai.tock.bot.admin.answer / SimpleAnswerConfiguration

SimpleAnswerConfiguration

data class SimpleAnswerConfiguration : AnswerConfiguration (source)

An AnswerConfiguration with only SimpleAnswer (ie labels) answers.

Constructors

<init>

An AnswerConfiguration with only SimpleAnswer (ie labels) answers.

SimpleAnswerConfiguration(answers: List<SimpleAnswer>)

Properties

answers

val answers: List<SimpleAnswer>

Functions

hasAnswer

Is there an answer set?

fun hasAnswer(): Boolean