在某些情况下,希望回复的内容是多个音频素材和文字内容混合顺序回复。只需要在 actions 集合中,根据希望的播报顺序添加播报音频素材和文本内容的 Action 即可。数据如下所示:
{"returnCode": "0","returnErrorSolution": "","returnMessage": "","returnValue": {"reply": "文本回复内容","resultType": "RESULT","actions": [{"name": "audioPlayGenieSource","properties": {"audioGenieId": "500000235"}},{"name": "playTts","properties": {"content": "文本回复内容1","format": "text","showText": "设备对话流展示内容1"}},{"name": "audioPlayGenieSource","properties": {"audioGenieId": "500000236"}},{"name": "playTts","properties": {"content": "文本回复内容2","format": "text","showText": "设备对话流展示内容2"}}],"properties": {},"executeCode": "SUCCESS","msgInfo": ""}}
PS: 在混排回复时,在线测试的显示结果可能与真机测试的播报效果不一致。请以真机测试的播报效果为准。
