Module Values.ChannelDefinitionSource

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).

Sourcetype nonrec t = {
  1. channelId : ChannelId.t option;
    (*

    Specify the audio channel you want to define.

    *)
  2. participantRole : ParticipantRole.t option;
    (*

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

    *)
}
Sourceval make : ?channelId:??? -> ?participantRole:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of ChannelId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t