tock / ai.tock.bot.admin.message / SentenceElementConfiguration

SentenceElementConfiguration

data class SentenceElementConfiguration (source)

An aggregation of Messages used in SentenceConfiguration. This a usually "generic" view of ConnectorMessage.

Constructors

<init>

An aggregation of Messages used in SentenceConfiguration. This a usually "generic" view of ConnectorMessage.

SentenceElementConfiguration(connectorType: ConnectorType = ConnectorType.none, attachments: List<AttachmentConfiguration> = emptyList(), choices: List<ChoiceConfiguration> = emptyList(), texts: Map<String, I18nLabelValue> = emptyMap(), locations: List<LocationConfiguration> = emptyList(), metadata: Map<String, String> = emptyMap(), subElements: List<SentenceSubElementConfiguration> = emptyList(), connectorMessage: ConnectorMessage? = null)

Properties

attachments

val attachments: List<AttachmentConfiguration>

choices

val choices: List<ChoiceConfiguration>

connectorType

val connectorType: ConnectorType

locations

val locations: List<LocationConfiguration>

metadata

val metadata: Map<String, String>

subElements

val subElements: List<SentenceSubElementConfiguration>

texts

val texts: Map<String, I18nLabelValue>