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