Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ChannelDefinition Source #
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).
See: newChannelDefinition
smart constructor.
ChannelDefinition' | |
|
Instances
newChannelDefinition :: ChannelDefinition Source #
Create a value of ChannelDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channelId:ChannelDefinition'
, channelDefinition_channelId
- Specify the audio channel you want to define.
$sel:participantRole:ChannelDefinition'
, channelDefinition_participantRole
- Specify the speaker you want to define. Omitting this parameter is
equivalent to specifying both participants.
channelDefinition_channelId :: Lens' ChannelDefinition (Maybe Natural) Source #
Specify the audio channel you want to define.
channelDefinition_participantRole :: Lens' ChannelDefinition (Maybe ParticipantRole) Source #
Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.