Item
import type { Item } from "https://aws-api.deno.dev/v0.4/services/connectparticipant.ts?docs=full";
An item - message or event - that has been sent.
§Properties
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.
Provides information about the attachments.
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.
The metadata related to the message. Currently this supports only information related to message receipts.
The role of the sender. For example, is it a customer, agent, or system.
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.
Type of the item: message or event.