data class GenericMessage
(source)
An aggregation of Messages used in Sentence. This is usually a "generic" view of ConnectorMessage.
<init> |
GenericMessage(connectorMessage: ConnectorMessage, attachments: List<Attachment> = emptyList(), choices: List<Choice> = emptyList(), texts: Map<String, String> = emptyMap(), locations: List<Location> = emptyList(), metadata: Map<String, String> = emptyMap(), subElements: List<GenericElement> = emptyList())
An aggregation of Messages used in Sentence. This is usually a "generic" view of ConnectorMessage. GenericMessage(connectorType: ConnectorType = ConnectorType.none, attachments: List<Attachment> = emptyList(), choices: List<Choice> = emptyList(), texts: Map<String, String> = emptyMap(), locations: List<Location> = emptyList(), metadata: Map<String, String> = emptyMap(), subElements: List<GenericElement> = emptyList(), connectorMessage: ConnectorMessage? = null) |
attachments |
val attachments: List<Attachment> |
choices |
val choices: List<Choice> |
connectorType |
val connectorType: ConnectorType |
locations |
val locations: List<Location> |
metadata |
val metadata: Map<String, String> |
subElements |
val subElements: List<GenericElement> |
texts |
val texts: Map<String, String> |
equals |
fun equals(other: Any?): Boolean |
hashCode |
fun hashCode(): Int |
SUBTITLE_PARAM |
A texts parameter for subtitle. const val SUBTITLE_PARAM: String |
TEXT_PARAM |
A texts parameter for text content. const val TEXT_PARAM: String |
TITLE_PARAM |
A texts parameter for title. const val TITLE_PARAM: String |