// Code generated by goctl. DO NOT EDIT. package types type MessageDeleteReq struct { Id string `form:"id"` AppId string `form:"appId"` } type Response struct { Code int64 `json:"code"` Message string `json:"message"` } type MessageDetailReq struct { Id int64 `form:"id"` } type MessageDetailResp struct { Code int64 `json:"code"` Message string `json:"message"` Data map[string]interface{} `json:"data"` } type MessageGetLastReq struct { UserId string `form:"userId"` AppId string `form:"appId"` MsgType int64 `form:"msgType"` } type MessageGetLastRes struct { Code int64 `json:"code"` Message string `json:"message"` Data map[string]interface{} `json:"data"` Status int64 `json:"isOk"` } type MessageFindReq struct { UserId string `form:"userId"` AppId string `form:"appId"` ReceiveUserId string `form:"receiveUserId"` MsgType int64 `form:"msgType"` // 是否限制消息类型 -1 不限制 IsRead int64 `form:"isRead"` // 是否限制未读 -1 不限制 Offset int64 `form:"offset"` // 页数 PageSize int64 `form:"pageSize"` // } type MessageFindRes struct { Code int64 `json:"code"` Message string `json:"message"` Status int64 `json:"isOk"` Data []map[string]interface{} `json:"data"` Total int64 `json:"total"` } type MessageUnreadClassCountReq struct { UserId string `form:"userId"` AppId string `form:"appId"` } type MessageUnreadClassCountRes struct { Code int64 `json:"code"` Status int64 `json:"isOk"` Message string `json:"message"` Data []map[string]interface{} `json:"data"` Info []map[string]interface{} `json:"info"` } type MessageUnreadCountReq struct { UserId string `form:"userId"` AppId string `form:"appId"` } type MessageUnreadCountRes struct { Code int64 `json:"code"` Status int64 `json:"isOk"` Message string `json:"message"` Data map[string]interface{} `json:"data"` } type MessageTypeReq struct { UserId string `form:"userId"` AppId string `form:"appId"` } type MessageTypeReqRes struct { Code int64 `json:"code"` Status int64 `json:"isOk"` Message string `json:"message"` Data []int64 `json:"data"` } type MsgReadStatusReq struct { UserId string `form:"userId"` AppId string `form:"appId"` MsgType int `form:"msgType"` } type MsgReadStatusResp struct { Code int64 `json:"code"` Message string `json:"message"` Status int64 `json:"status"` }