Skip to content

/AWS1/CL_PP2RCSCONTENT

The message body of an RCS message. Exactly one content type must be specified.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_textmessage TYPE REF TO /AWS1/CL_PP2RCSTEXTMESSAGE /AWS1/CL_PP2RCSTEXTMESSAGE

A plain text RCS message.

io_filemessage TYPE REF TO /AWS1/CL_PP2RCSFILEMESSAGE /AWS1/CL_PP2RCSFILEMESSAGE

A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.

io_richcard TYPE REF TO /AWS1/CL_PP2RCSSTANDALONECARD /AWS1/CL_PP2RCSSTANDALONECARD

A standalone rich card with media, title, description, and suggested actions.

A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.


Queryable Attributes

TextMessage

A plain text RCS message.

Accessible with the following methods

Method Description
GET_TEXTMESSAGE() Getter for TEXTMESSAGE

FileMessage

A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.

Accessible with the following methods

Method Description
GET_FILEMESSAGE() Getter for FILEMESSAGE

RichCard

A standalone rich card with media, title, description, and suggested actions.

Accessible with the following methods

Method Description
GET_RICHCARD() Getter for RICHCARD

A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.

Accessible with the following methods

Method Description
GET_CAROUSEL() Getter for CAROUSEL