Skip to content

ChannelDefinition

Source code in docs_src/capo_chime_sdk_media_pipelines/types/channel_definition.py
class ChannelDefinition(TypedDict, closed=True):
    channel_id: "capo_chime_sdk_media_pipelines.types.channel_id.ChannelId"
    """<p>The channel ID.</p>"""
    participant_role: NotRequired[
        "capo_chime_sdk_media_pipelines.types.participant_role.ParticipantRole"
    ]
    """<p>Specifies whether the audio in a channel belongs to the <code>AGENT</code> or <code>CUSTOMER</code>.</p>"""

channel_id instance-attribute

channel_id: ChannelId

The channel ID.

participant_role instance-attribute

participant_role: NotRequired[ParticipantRole]

Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.