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

ChannelMessageCallback

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

Stores information about a callback.

interface ChannelMessageCallback {
Content?: string | null;
MessageAttributes?: {
[key: string]: MessageAttributeValue | null | undefined;
}
| null;
MessageId: string;
Metadata?: string | null;
PushNotification?: PushNotificationConfiguration | null;
}

§Properties

§
Content?: string | null
[src]

The message content.

§
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
[src]

The message ID.

§
Metadata?: string | null
[src]

The message metadata.

§
PushNotification?: PushNotificationConfiguration | null
[src]

The push notification configuration of the message.