tock / ai.tock.bot.admin.answer / AnswerConfiguration

# AnswerConfiguration

`abstract class AnswerConfiguration` (source)

Define an answer configured at runtime.

### Constructors

#### <init> | Define an answer configured at runtime. `AnswerConfiguration(answerType: AnswerConfigurationType)`

### Properties

#### answerType | `val answerType: AnswerConfigurationType`

### Functions

#### hasAnswer | Is there an answer set? `open fun hasAnswer(): Boolean`

### Inheritors

#### BuiltInAnswerConfiguration | `data class BuiltInAnswerConfiguration : AnswerConfiguration`
#### MessageAnswerConfiguration | `data class MessageAnswerConfiguration : AnswerConfiguration`
#### ScriptAnswerConfiguration | An AnswerConfiguration defined by a Kotlin script. `data class ScriptAnswerConfiguration : AnswerConfiguration`
#### SimpleAnswerConfiguration | An AnswerConfiguration with only SimpleAnswer (ie labels) answers. `data class SimpleAnswerConfiguration : AnswerConfiguration`