Files
open-im-server/pkg/base_info/msg.go
T

37 lines
1.0 KiB
Go
Raw Normal View History

2022-03-16 20:37:37 +08:00
package base_info
type DelMsgReq struct {
2022-06-29 11:18:19 +08:00
UserID string `json:"userID,omitempty" binding:"required"`
SeqList []uint32 `json:"seqList,omitempty" binding:"required"`
OperationID string `json:"operationID,omitempty" binding:"required"`
2022-03-16 20:37:37 +08:00
}
type DelMsgResp struct {
2022-03-17 19:00:05 +08:00
CommResp
2022-03-16 20:37:37 +08:00
}
2022-05-31 19:16:29 +08:00
type CleanUpMsgReq struct {
UserID string `json:"userID" binding:"required"`
OperationID string `json:"operationID" binding:"required"`
}
type CleanUpMsgResp struct {
CommResp
}
2022-07-12 16:16:04 +08:00
type DelSuperGroupMsgReq struct {
UserID string `json:"userID,omitempty" binding:"required"`
GroupID string `json:"groupID,omitempty" binding:"required"`
SeqList []uint32 `json:"seqList,omitempty"`
IsAllDelete bool `json:"isAllDelete"`
OperationID string `json:"operationID,omitempty" binding:"required"`
}
type DelSuperGroupMsgResp struct {
CommResp
}
type MsgDeleteNotificationElem struct {
GroupID string `json:"groupID"`
IsAllDelete bool `json:"isAllDelete"`
SeqList []uint32 `json:"seqList"`
}