fix: fix the error of tag

pull/1672/head
luhaoling 2 years ago
parent 9f243074a4
commit 77a8c1a1d5

@ -60,7 +60,7 @@ type SendMsg struct {
// SendMsgReq extends SendMsg with the requirement of RecvID when SessionType indicates a one-on-one or notification chat. // SendMsgReq extends SendMsg with the requirement of RecvID when SessionType indicates a one-on-one or notification chat.
type SendMsgReq struct { type SendMsgReq struct {
// RecvID uniquely identifies the receiver and is required for one-on-one or notification chat types. // RecvID uniquely identifies the receiver and is required for one-on-one or notification chat types.
RecvID string `json:"recvID" binding:"required_if" message:"recvID is required if sessionType is SingleChatType or NotificationChatType" binding:"required"` RecvID string `json:"recvID" binding:"required_if" message:"recvID is required if sessionType is SingleChatType or NotificationChatType"`
SendMsg SendMsg
} }

Loading…
Cancel
Save