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

ChannelDefinition

import type { ChannelDefinition } from "https://aws-api.deno.dev/v0.4/services/transcribeservice.ts?docs=full";

Makes it possible to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set ChannelId to 0 (to indicate the first channel) and ParticipantRole to AGENT (to indicate that it's the agent speaking).

interface ChannelDefinition {
ChannelId?: number | null;
ParticipantRole?: ParticipantRole | null;
}

§Properties

§
ChannelId?: number | null
[src]

Specify the audio channel you want to define.

§
ParticipantRole?: ParticipantRole | null
[src]

Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.