|
|
@ -40,11 +40,12 @@ func newUserSendMsgReq(params *ManagementSendMsgReq) *pbChat.SendMsgReq {
|
|
|
|
fallthrough
|
|
|
|
fallthrough
|
|
|
|
case constant.Voice:
|
|
|
|
case constant.Voice:
|
|
|
|
fallthrough
|
|
|
|
fallthrough
|
|
|
|
|
|
|
|
case constant.Video:
|
|
|
|
|
|
|
|
fallthrough
|
|
|
|
case constant.File:
|
|
|
|
case constant.File:
|
|
|
|
newContent = utils.StructToJsonString(params.Content)
|
|
|
|
newContent = utils.StructToJsonString(params.Content)
|
|
|
|
case constant.Revoke:
|
|
|
|
case constant.Revoke:
|
|
|
|
newContent = params.Content["revokeMsgClientID"].(string)
|
|
|
|
newContent = params.Content["revokeMsgClientID"].(string)
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var options map[string]bool
|
|
|
|
var options map[string]bool
|
|
|
|