Hi, I’m trying to transition from Jovo 3 to Jovo 4.
In my action I need to play a long audio, in Jovo 3 I used the “mediaResponse” object:
this.$googleAction.$mediaResponse.playAudio({
name: “”,
description: “”,
url: “”,
image: {
large: {
alt: ‘’,
height: 0,
url: “”,
width: 0,
},
},
},
offset,
[
‘STOPPED’,
‘PAUSED’
],
);
I didn’t find in the new documentation how I can achieve the same result in Jovo4, I only saw the example for the Alexa Skill
this.$send(AudioPlayerPlayOutput, {
message: 'Starting audio',
audioItem: {
stream: {
url: 'https://s3.amazonaws.com/jovo-songs/song1.mp3',
},
},
})
Can someone help me to understand how can I use MediaObjects with Jovo4 for my Google Action?