fix: fix the error of tag

This commit is contained in:
luhaoling 2023-12-25 18:16:24 +08:00
parent 9f243074a4
commit 77a8c1a1d5

View File

@ -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.
type SendMsgReq struct {
// 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
}