/AWS1/CL_CNT=>SENDCHATINTEGRATIONEVENT()
¶
About SendChatIntegrationEvent¶
Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes:
-
SourceId, DestinationId, and Subtype: a set of identifiers, uniquely representing a chat
-
ChatEvent: details of the chat action to perform such as sending a message, event, or disconnecting from a chat
When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action.
Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_SOURCEID
TYPE /AWS1/CNTSOURCEID
/AWS1/CNTSOURCEID
¶
External identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
IV_DESTINATIONID
TYPE /AWS1/CNTDESTINATIONID
/AWS1/CNTDESTINATIONID
¶
Chat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For SMS, this is the phone number destination of inbound SMS messages represented by an Amazon Pinpoint phone number ARN.
IO_EVENT
TYPE REF TO /AWS1/CL_CNTCHATEVENT
/AWS1/CL_CNTCHATEVENT
¶
Chat integration event payload
Optional arguments:¶
IV_SUBTYPE
TYPE /AWS1/CNTSUBTYPE
/AWS1/CNTSUBTYPE
¶
Classification of a channel. This is used in part to uniquely identify chat.
Valid value:
["connect:sms"]
IO_NEWSESSIONDETAILS
TYPE REF TO /AWS1/CL_CNTNEWSESSIONDETAILS
/AWS1/CL_CNTNEWSESSIONDETAILS
¶
Contact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.