SendChannelMessageRequest
import type { SendChannelMessageRequest } from "https://aws-api.deno.dev/v0.3/services/chimesdkmessaging.ts?docs=full";
interface SendChannelMessageRequest {
ChannelArn: string;
ChimeBearer: string;
ClientRequestToken: string;
Content: string;
MessageAttributes?: {} | null;
[key: string]: MessageAttributeValue | null | undefined;
Metadata?: string | null;
Persistence: ChannelMessagePersistenceType;
PushNotification?: PushNotificationConfiguration | null;
Type: ChannelMessageType;
}§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
[src]Boolean that controls whether the message is persisted on the back end. Required.
§
PushNotification?: PushNotificationConfiguration | null
[src]The push notification configuration of the message.
§
Type: ChannelMessageType
[src]The type of message, STANDARD
or CONTROL
.