A message in a conversation. Belongs to a single `KUSConversation`.



### id



### conversationId



### createdAt



### status



### direction

Direction of the message.

When building a chat interface, use this to set which side of the screen to display the message on.



### body

Message body, in markdown.



### attachments

Attached images, videos, or files (if any)



### templateType

Message template type



## Sender of message

### sentById

ID of entity that composed this message

When building a chat interface, use `KUSChatMessage.direction` to set which side of the screen to display the message on.



### sentByType

Entity that composed this message.

When building a chat interface, use `KUSChatMessage.direction` to set which side of the screen to display the message on.



### actions

For messages with associated quick reply buttons. To reply to this message, pass one of these actions to `ChatProvider.shared.sendChatMessage(action:, completion:)`



### mllNode

For messages with associated quick reply buttons. To reply to this message, pass one of these actions to `ChatProvider.shared.sendChatMessage(mllNode:, completion:)`



### deflectResults

For messages generated by KB deflect chat assistant responses. Contains matched articles.



### templateRawJson

Raw JSON of the message template



## CustomStringConvertible

### description