本地管理端 /send 接口。服务端会通过 WebSocket(socketType=2)转发指令。WS连接:ws://:9001/webserver/wework/(robotId需由 /robot/issue 生成且未过期)
{ "robotId": "123456", "list": [ { "type": 214, "titleList": [ "GroupA" ], "receivedName": "UserA", "originalContent": "Command", "textType": 1 } ] }
curl --location --request POST 'https://work.yueqiancloud.com/send' \ --header 'Content-Type: application/json' \ --data-raw '{ "robotId": "123456", "list": [ { "type": 214, "titleList": [ "GroupA" ], "receivedName": "UserA", "originalContent": "Command", "textType": 1 } ] }'
{ "ok": true, "messageId": "string" }