AWSConnectParticipantSendEventRequest

Objective-C

@interface AWSConnectParticipantSendEventRequest

Swift

class AWSConnectParticipantSendEventRequest
  • A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    Declaration

    Objective-C

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

    Swift

    var clientToken: String? { get set }
  • The authentication token associated with the participant’s connection.

    Declaration

    Objective-C

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

    Swift

    var connectionToken: String? { get set }
  • The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

    Sample Content: “{"messageId":"11111111-aaaa-bbbb-cccc-EXAMPLE01234"}”

    Declaration

    Objective-C

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

    Swift

    var content: String? { get set }
  • The content type of the request. Supported types are:

    • application/vnd.amazonaws.connect.event.typing

    • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

    • application/vnd.amazonaws.connect.event.message.delivered

    • application/vnd.amazonaws.connect.event.message.read

    Declaration

    Objective-C

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

    Swift

    var contentType: String? { get set }