tock / ai.tock.bot.admin.message / MessageConfiguration

# MessageConfiguration

`interface MessageConfiguration` (source)

### Properties

#### delay | `abstract val delay: Long`
#### eventType | `abstract val eventType: EventType`

### Functions

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

### Inheritors

#### AttachmentConfiguration | A simple attachment file. `data class AttachmentConfiguration : MessageConfiguration`
#### ChoiceConfiguration | A user choice. `data class ChoiceConfiguration : MessageConfiguration`
#### LocationConfiguration | User location data. `data class LocationConfiguration : MessageConfiguration`
#### SentenceConfiguration | Could be a simple text, or a complex message using ConnectorMessage constructor. `data class SentenceConfiguration : MessageConfiguration`