/AWS1/CL_CNTCHATMESSAGE¶
A chat message.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_contenttype TYPE /AWS1/CNTCHATCONTENTTYPE /AWS1/CNTCHATCONTENTTYPE¶
The type of the content. Supported types are
text/plain,text/markdown,application/json, andapplication/vnd.amazonaws.connect.message.interactive.response.
iv_content TYPE /AWS1/CNTCHATCONTENT /AWS1/CNTCHATCONTENT¶
The content of the chat message.
For
text/plainandtext/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.For
application/json, the Length Constraints are Minimum of 1, Maximum of 12000.For
application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.
Queryable Attributes¶
ContentType¶
The type of the content. Supported types are
text/plain,text/markdown,application/json, andapplication/vnd.amazonaws.connect.message.interactive.response.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENTTYPE() |
Getter for CONTENTTYPE, with configurable default |
ASK_CONTENTTYPE() |
Getter for CONTENTTYPE w/ exceptions if field has no value |
HAS_CONTENTTYPE() |
Determine if CONTENTTYPE has a value |
Content¶
The content of the chat message.
For
text/plainandtext/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.For
application/json, the Length Constraints are Minimum of 1, Maximum of 12000.For
application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT, with configurable default |
ASK_CONTENT() |
Getter for CONTENT w/ exceptions if field has no value |
HAS_CONTENT() |
Determine if CONTENT has a value |