Item
import type { Item } from "https://aws-api.deno.dev/v0.3/services/connectparticipant.ts?docs=full";
An item - message or event - that has been sent.
interface Item {
AbsoluteTime?: string | null;
Attachments?: AttachmentItem[] | null;
Content?: string | null;
ContentType?: string | null;
DisplayName?: string | null;
Id?: string | null;
ParticipantId?: string | null;
ParticipantRole?: ParticipantRole | null;
Type?: ChatItemType | null;
}§Properties
§
AbsoluteTime?: string | null
[src]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.
§
Attachments?: AttachmentItem[] | null
[src]Provides information about the attachments.
§
ParticipantRole?: ParticipantRole | null
[src]The role of the sender. For example, is it a customer, agent, or system.
§
Type?: ChatItemType | null
[src]Type of the item: message or event.