AWSConnectParticipantItem

Objective-C

@interface AWSConnectParticipantItem

Swift

class AWSConnectParticipantItem

An item - message or event - that has been sent.

  • The time when the message or event was sent.

    It’s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

    Declaration

    Objective-C

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

    Swift

    var absoluteTime: String? { get set }
  • Provides information about the attachments.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSConnectParticipantAttachmentItem *> *_Nullable attachments;

    Swift

    var attachments: [AWSConnectParticipantAttachmentItem]? { get set }
  • The contactId on which the transcript item was originally sent. This field is populated only when the transcript item is from the current chat session.

    Declaration

    Objective-C

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

    Swift

    var contactId: String? { get set }
  • The content of the message or event.

    Declaration

    Objective-C

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

    Swift

    var content: String? { get set }
  • The type of content of the item.

    Declaration

    Objective-C

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

    Swift

    var contentType: String? { get set }
  • The chat display name of the sender.

    Declaration

    Objective-C

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

    Swift

    var displayName: String? { get set }
  • The ID of the item.

    Declaration

    Objective-C

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

    Swift

    var identifier: String? { get set }
  • The metadata related to the message. Currently this supports only information related to message receipts.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSConnectParticipantMessageMetadata *_Nullable messageMetadata;

    Swift

    var messageMetadata: AWSConnectParticipantMessageMetadata? { get set }
  • The ID of the sender in the session.

    Declaration

    Objective-C

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

    Swift

    var participantId: String? { get set }
  • The role of the sender. For example, is it a customer, agent, or system.

    Declaration

    Objective-C

    @property (nonatomic) AWSConnectParticipantParticipantRole participantRole;

    Swift

    var participantRole: AWSConnectParticipantParticipantRole { get set }
  • The contactId on which the transcript item was originally sent. This field is only populated for persistent chats when the transcript item is from the past chat session. For more information, see Enable persistent chat.

    Declaration

    Objective-C

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

    Swift

    var relatedContactId: String? { get set }
  • Type of the item: message or event.

    Declaration

    Objective-C

    @property (nonatomic) AWSConnectParticipantChatItemType types;

    Swift

    var types: AWSConnectParticipantChatItemType { get set }