Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
Content?: string | null
[src]

The content of the message or event.

§
ContentType?: string | null
[src]

The type of content of the item.

§
DisplayName?: string | null
[src]

The chat display name of the sender.

§
Id?: string | null
[src]

The ID of the item.

§
ParticipantId?: string | null
[src]

The ID of the sender in the session.

§
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.