Values.ItemSourceAn item - message or event - that has been sent.
type nonrec t = {absoluteTime : Instant.t option;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.
*)content : ChatContent.t option;The content of the message or event.
*)contentType : ChatContentType.t option;The type of content of the item.
*)id : ChatItemId.t option;The ID of the item.
*)type_ : ChatItemType.t option;Type of the item: message or event.
*)participantId : ParticipantId.t option;The ID of the sender in the session.
*)displayName : DisplayName.t option;The chat display name of the sender.
*)participantRole : ParticipantRole.t option;The role of the sender. For example, is it a customer, agent, or system.
*)attachments : Attachments.t option;Provides information about the attachments.
*)messageMetadata : MessageMetadata.t option;The metadata related to the message. Currently this supports only information related to message receipts.
*)contactId : ContactId.t option;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.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `Enum of string | `String of ContentType.t ])
list ]
list
| `String of Instant.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of Instant.t ]) list ]
list
| `String of ChatItemId.t ])
list ])
list ]