Text

data class Text(val value: TextMessage) : MessageData

The message data in text type.

Constructors

Link copied to clipboard
constructor(value: TextMessage)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this MessageData as a Text and retrieves its aws.sdk.kotlin.services.qconnect.model.TextMessage value. Throws an exception if the MessageData is not a Text.

Link copied to clipboard

Casts this MessageData as a Text and retrieves its aws.sdk.kotlin.services.qconnect.model.TextMessage value. Returns null if the MessageData is not a Text.