mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
mongo
This commit is contained in:
parent
09ce0d5285
commit
e75adb165a
@ -40,6 +40,8 @@ func newUserSendMsgReq(params *ManagementSendMsgReq) *pbChat.SendMsgReq {
|
||||
fallthrough
|
||||
case constant.File:
|
||||
newContent = utils.StructToJsonString(params.Content)
|
||||
case constant.Revoke:
|
||||
newContent = params.Content["revokeMsgClientID"].(string)
|
||||
default:
|
||||
}
|
||||
var options map[string]bool
|
||||
@ -260,5 +262,5 @@ type TextElem struct {
|
||||
}
|
||||
|
||||
type RevokeElem struct {
|
||||
Text string `mapstructure:"text" validate:"required"`
|
||||
RevokeMsgClientID string `mapstructure:"revokeMsgClientID" validate:"required"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user