TextMessage

data class TextMessage(val value: RcsTextMessage) : RcsContent

A plain text RCS message.

Constructors

Link copied to clipboard
constructor(value: RcsTextMessage)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this RcsContent as a Carousel and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsCarousel value. Throws an exception if the RcsContent is not a Carousel.

Link copied to clipboard

Casts this RcsContent as a Carousel and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsCarousel value. Returns null if the RcsContent is not a Carousel.

Link copied to clipboard

Casts this RcsContent as a FileMessage and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsFileMessage value. Throws an exception if the RcsContent is not a FileMessage.

Link copied to clipboard
Link copied to clipboard

Casts this RcsContent as a RichCard and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsStandaloneCard value. Throws an exception if the RcsContent is not a RichCard.

Link copied to clipboard
Link copied to clipboard

Casts this RcsContent as a TextMessage and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsTextMessage value. Throws an exception if the RcsContent is not a TextMessage.

Link copied to clipboard