tock / ai.tock.bot.engine.message / GenericMessage / <init>

# <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())` `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)`

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