Authorization: Bearer ********************{
"roomId": 0,
"msgType": 0,
"body": {}
}curl --location --request POST '/api/chat/msg' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"roomId": 0,
"msgType": 0,
"body": {}
}'{
"code": 0,
"data": {
"fromUser": {
"uid": 0
},
"message": {
"id": 0,
"roomId": 0,
"sendTime": "2019-08-24T14:15:22.123Z",
"type": 0,
"body": {}
}
},
"message": "string"
}