Skip to content

/AWS1/CL_DOASENDMESSAGECONTEXT

Context object for additional message metadata

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_currentpage TYPE /AWS1/DOASTRING /AWS1/DOASTRING

The current page or view the user is on

iv_lastmessage TYPE /AWS1/DOASTRING /AWS1/DOASTRING

The ID of the last message in the conversation

iv_useractionresponse TYPE /AWS1/DOASTRING /AWS1/DOASTRING

Response to a UI prompt (not a text conversation message)


Queryable Attributes

currentPage

The current page or view the user is on

Accessible with the following methods

Method Description
GET_CURRENTPAGE() Getter for CURRENTPAGE, with configurable default
ASK_CURRENTPAGE() Getter for CURRENTPAGE w/ exceptions if field has no value
HAS_CURRENTPAGE() Determine if CURRENTPAGE has a value

lastMessage

The ID of the last message in the conversation

Accessible with the following methods

Method Description
GET_LASTMESSAGE() Getter for LASTMESSAGE, with configurable default
ASK_LASTMESSAGE() Getter for LASTMESSAGE w/ exceptions if field has no value
HAS_LASTMESSAGE() Determine if LASTMESSAGE has a value

userActionResponse

Response to a UI prompt (not a text conversation message)

Accessible with the following methods

Method Description
GET_USERACTIONRESPONSE() Getter for USERACTIONRESPONSE, with configurable default
ASK_USERACTIONRESPONSE() Getter for USERACTIONRESPONSE w/ exceptions if field has no
HAS_USERACTIONRESPONSE() Determine if USERACTIONRESPONSE has a value