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

SendMessageRequest

import type { SendMessageRequest } from "https://aws-api.deno.dev/v0.4/services/connectparticipant.ts?docs=full";
interface SendMessageRequest {
ClientToken?: string | null;
ConnectionToken: string;
Content: string;
ContentType: string;
}

§Properties

§
ClientToken?: string | null
[src]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

§
ConnectionToken: string
[src]

The authentication token associated with the connection.

§
Content: string
[src]

The content of the message.

  • For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.
  • For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.
§
ContentType: string
[src]

The type of the content. Supported types are text/plain, text/markdown, and application/json.