ChatEvent
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
Contents
- Type
-
Type of chat integration event.
Type: String
Valid Values:
DISCONNECT | MESSAGE | EVENT
Required: Yes
- Content
-
Content of the message or event. This is required when
Type
isMESSAGE
and for certainContentTypes
whenType
isEVENT
.-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 16384.
Required: No
-
- ContentType
-
Type of content. This is required when
Type
isMESSAGE
orEVENT
.-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: