Skip to content

/AWS1/CL_DOAMESSAGE

A message in a conversation, either from the user or the assistant.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_usermessage TYPE /AWS1/CL_DOAUSERMESSAGEBLOCK=>TT_USERMESSAGE TT_USERMESSAGE

A message from the user.

it_assistantmessage TYPE /AWS1/CL_DOAASSSTNTMSGBLOCK=>TT_ASSISTANTMESSAGE TT_ASSISTANTMESSAGE

A message from the assistant.


Queryable Attributes

userMessage

A message from the user.

Accessible with the following methods

Method Description
GET_USERMESSAGE() Getter for USERMESSAGE, with configurable default
ASK_USERMESSAGE() Getter for USERMESSAGE w/ exceptions if field has no value
HAS_USERMESSAGE() Determine if USERMESSAGE has a value

assistantMessage

A message from the assistant.

Accessible with the following methods

Method Description
GET_ASSISTANTMESSAGE() Getter for ASSISTANTMESSAGE, with configurable default
ASK_ASSISTANTMESSAGE() Getter for ASSISTANTMESSAGE w/ exceptions if field has no va
HAS_ASSISTANTMESSAGE() Determine if ASSISTANTMESSAGE has a value