Skip to content

/AWS1/CL_CNTCHATEVENT

Chat integration event containing payload to perform different chat actions such as:

  • Sending a chat message

  • Sending a chat event, such as typing

  • Disconnecting from a chat

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/CNTCHATEVENTTYPE /AWS1/CNTCHATEVENTTYPE

Type of chat integration event.

Optional arguments:

iv_contenttype TYPE /AWS1/CNTCHATCONTENTTYPE /AWS1/CNTCHATCONTENTTYPE

Type of content. This is required when Type is MESSAGE or EVENT.

  • For allowed message content types, see the ContentType parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

  • For allowed event content types, see the ContentType parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

iv_content TYPE /AWS1/CNTCHATCONTENT /AWS1/CNTCHATCONTENT

Content of the message or event. This is required when Type is MESSAGE and for certain ContentTypes when Type is EVENT.

  • For allowed message content, see the Content parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

  • For allowed event content, see the Content parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.


Queryable Attributes

Type

Type of chat integration event.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

ContentType

Type of content. This is required when Type is MESSAGE or EVENT.

  • For allowed message content types, see the ContentType parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

  • For allowed event content types, see the ContentType parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

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

Content of the message or event. This is required when Type is MESSAGE and for certain ContentTypes when Type is EVENT.

  • For allowed message content, see the Content parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

  • For allowed event content, see the Content parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

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