聊天发送(选项)

请求URL:

  • /submitChatSelect

请求方式:

  • POST

参数:

参数名 必选 类型 说明
roleId int 角色ID
content string 聊天内容
  • 注: content为"[START]"字符串时视为开始新剧情
  • 注2: select中的ABC都为空时视为结局

    返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "content": "**Elena:** \"Fl...*",
        "select": {
            "A": "\"I think the voice is trying to help us find the Echo Core.\"",
            "B": "\"I'm not sure if I can trust the voice. It feels manipulative.\"",
            "C": "\"Maybe the voice is connected to the Ashfall itself.\""
        }
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据体
-content string 其他角色互动
-select struct 用户选项内容
--A string 选项A
--B string 选项B
--C string 选项C

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-09-15 09:59:43

results matching ""

    No results matching ""