tock / ai.tock.bot.admin.message / SentenceConfiguration

SentenceConfiguration

data class SentenceConfiguration : MessageConfiguration (source)

Could be a simple text, or a complex message using ConnectorMessage constructor.

Constructors

<init>

Could be a simple text, or a complex message using ConnectorMessage constructor.

SentenceConfiguration(text: I18nLabelValue?, messages: MutableList<SentenceElementConfiguration> = mutableListOf(), delay: Long = 0)

Properties

delay

val delay: Long

eventType

val eventType: EventType

messages

val messages: MutableList<SentenceElementConfiguration>

text

val text: I18nLabelValue?

Functions

toAction

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