play Audio
Parameters
value
Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message
: Only one of text
, payload
, conversationSuccess
, outputAudioText
, liveAgentHandoff
, endInteraction
, playAudio
, mixedAudio
, telephonyTransferCall
, or knowledgeInfoCard
may be set. Structure is documented below.
suspend fun playAudio(argument: suspend CxFlowEventHandlerTriggerFulfillmentMessagePlayAudioArgsBuilder.() -> Unit)
Parameters
argument
Specifies an audio clip to be played by the client as part of the response. This field is part of a union field message
: Only one of text
, payload
, conversationSuccess
, outputAudioText
, liveAgentHandoff
, endInteraction
, playAudio
, mixedAudio
, telephonyTransferCall
, or knowledgeInfoCard
may be set. Structure is documented below.