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

ChannelMessage

import type { ChannelMessage } from "https://aws-api.deno.dev/v0.3/services/chimesdkmessaging.ts?docs=full";

The details of a message in a channel.

interface ChannelMessage {
ChannelArn?: string | null;
Content?: string | null;
CreatedTimestamp?: Date | number | null;
LastEditedTimestamp?: Date | number | null;
LastUpdatedTimestamp?: Date | number | null;
MessageAttributes?: {
[key: string]: MessageAttributeValue | null | undefined;
}
| null;
MessageId?: string | null;
Metadata?: string | null;
Persistence?: ChannelMessagePersistenceType | null;
Redacted?: boolean | null;
Sender?: Identity | null;
Type?: ChannelMessageType | null;
}

§Properties

§
ChannelArn?: string | null
[src]

The ARN of the channel.

§
Content?: string | null
[src]

The message content.

§
CreatedTimestamp?: Date | number | null
[src]

The time at which the message was created.

§
LastEditedTimestamp?: Date | number | null
[src]

The time at which a message was edited.

§
LastUpdatedTimestamp?: Date | number | null
[src]

The time at which a message was updated.

§
MessageAttributes?: {
[key: string]: MessageAttributeValue | null | undefined;
}
| null
[src]

The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.

§
MessageId?: string | null
[src]

The ID of a message.

§
Metadata?: string | null
[src]

The message metadata.

§

The persistence setting for a channel message.

§
Redacted?: boolean | null
[src]

Hides the content of a message.

§
Sender?: Identity | null
[src]

The message sender.

§

The status of the channel message.

§

The message type.