AWSConnectChatEvent

Objective-C

@interface AWSConnectChatEvent

Swift

class AWSConnectChatEvent

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

Required parameters: [Type]

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable content;

    Swift

    var content: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable contentType;

    Swift

    var contentType: String? { get set }
  • Type of chat integration event.

    Declaration

    Objective-C

    @property (nonatomic) AWSConnectChatEventType types;

    Swift

    var types: AWSConnectChatEventType { get set }