Item

public struct Item : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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

    Swift

    public let absoluteTime: String?
  • The content of the message or event.

    Declaration

    Swift

    public let content: String?
  • The type of content of the item.

    Declaration

    Swift

    public let contentType: String?
  • The chat display name of the sender.

    Declaration

    Swift

    public let displayName: String?
  • id

    The ID of the item.

    Declaration

    Swift

    public let id: String?
  • The ID of the sender in the session.

    Declaration

    Swift

    public let participantId: String?
  • The role of the sender. For example, is it a customer, agent, or system.

    Declaration

    Swift

    public let participantRole: ParticipantRole?
  • Type of the item: message or event.

    Declaration

    Swift

    public let type: ChatItemType?
  • Undocumented

    Declaration

    Swift

    public init(absoluteTime: String? = nil, content: String? = nil, contentType: String? = nil, displayName: String? = nil, id: String? = nil, participantId: String? = nil, participantRole: ParticipantRole? = nil, type: ChatItemType? = nil)