mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
msg update
This commit is contained in:
parent
71156eca21
commit
adfd117926
@ -48,8 +48,8 @@ type ManagementSendMsg struct {
|
|||||||
|
|
||||||
type ManagementSendMsgReq struct {
|
type ManagementSendMsgReq struct {
|
||||||
SendID string `json:"sendID" binding:"required"`
|
SendID string `json:"sendID" binding:"required"`
|
||||||
RecvID string `json:"recvID" binding:"required_if"`
|
RecvID string `json:"recvID" binding:"required_if" message:"recvID is required if sessionType is SingleChatType or NotificationChatType"`
|
||||||
GroupID string `json:"groupID" binding:"required_if"`
|
GroupID string `json:"groupID" binding:"required_if" message:"groupID is required if sessionType is GroupChatType or SuperGroupChatType"`
|
||||||
SenderNickname string `json:"senderNickname" `
|
SenderNickname string `json:"senderNickname" `
|
||||||
SenderFaceURL string `json:"senderFaceURL" `
|
SenderFaceURL string `json:"senderFaceURL" `
|
||||||
SenderPlatformID int32 `json:"senderPlatformID"`
|
SenderPlatformID int32 `json:"senderPlatformID"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user