RcsContent
The message body of an RCS message. Exactly one content type must be specified.
Inheritors
Types
A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.
A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.
A standalone rich card with media, title, description, and suggested actions.
A plain text RCS message.
Functions
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.
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.
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.
Casts this RcsContent as a FileMessage and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsFileMessage value. Returns null if the RcsContent is not a FileMessage.
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.
Casts this RcsContent as a RichCard and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsStandaloneCard value. Returns null if the RcsContent is not a RichCard.
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.
Casts this RcsContent as a TextMessage and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsTextMessage value. Returns null if the RcsContent is not a TextMessage.