tock / ai.tock.bot.admin.message / ChoiceConfiguration

# ChoiceConfiguration

`data class ChoiceConfiguration : MessageConfiguration` (source)

A user choice.

### Constructors

#### <init> | A user choice. `ChoiceConfiguration(intentName: String, parameters: Map<String, String> = emptyMap(), delay: Long = 0)`

### Properties

#### delay | `val delay: Long`
#### eventType | `val eventType: EventType`
#### intentName | `val intentName: String`
#### parameters | `val parameters: Map<String, String>`

### Functions

#### toAction | `fun toAction(playerId: PlayerId, applicationId: String, recipientId: PlayerId, locale: Locale, userInterfaceType: UserInterfaceType): Action`