https://stackoverflow.com/a/45890852/8413869
从上面的答案中,我知道表情符号可以以 Button 格式的文本传递。
我试图以简单的响应传递 unicode,但没有运气。
....."data": {
"google": {
"expectUserResponse": true,
"richResponse": {
"items": [
{
"simpleResponse": {
"ssml": "<speak>Hello. How are you ? </speak>",
"displayText": "Hello U+1F600., how are you ? "
}
}
],
"suggestions": [],
"linkOutSuggestion": {}
}
}
}.....
有没有办法做到这一点?