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?: {} | null;
[key: string]: MessageAttributeValue | null | undefined;
MessageId?: string | null;
Metadata?: string | null;
Persistence?: ChannelMessagePersistenceType | null;
Redacted?: boolean | null;
Sender?: Identity | null;
Status?: ChannelMessageStatusStructure | null;
Type?: ChannelMessageType | null;
}§Properties
§
MessageAttributes?: {} | null
[src][key: string]: MessageAttributeValue | null | undefined;
The attributes for the message, used for message filtering along with a FilterRule
defined in the PushNotificationPreferences
.
§
Persistence?: ChannelMessagePersistenceType | null
[src]The persistence setting for a channel message.
§
Status?: ChannelMessageStatusStructure | null
[src]The status of the channel message.
§
Type?: ChannelMessageType | null
[src]The message type.