2021-12-28 15:33:47 +08:00
|
|
|
package base_info
|
2021-12-29 11:31:51 +08:00
|
|
|
|
2021-12-29 15:52:19 +08:00
|
|
|
type OptResult struct {
|
|
|
|
|
ConversationID string `json:"conversationID"`
|
|
|
|
|
Result *int32 `json:"result"`
|
|
|
|
|
}
|
2021-12-29 11:31:51 +08:00
|
|
|
type GetAllConversationMessageOptReq struct {
|
|
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
|
FromUserID string `json:"fromUserID" binding:"required"`
|
|
|
|
|
}
|
|
|
|
|
type GetAllConversationMessageOptResp struct {
|
|
|
|
|
CommResp
|
2021-12-29 15:52:19 +08:00
|
|
|
ConversationOptResultList []*OptResult `json:"data"`
|
2021-12-29 11:31:51 +08:00
|
|
|
}
|
|
|
|
|
type GetReceiveMessageOptReq struct {
|
2021-12-29 15:53:56 +08:00
|
|
|
ConversationIDList []string `json:"conversationIDList" binding:"required"`
|
2021-12-29 11:31:51 +08:00
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
|
FromUserID string `json:"fromUserID" binding:"required"`
|
|
|
|
|
}
|
|
|
|
|
type GetReceiveMessageOptResp struct {
|
|
|
|
|
CommResp
|
2021-12-29 15:52:19 +08:00
|
|
|
ConversationOptResultList []*OptResult `json:"data"`
|
2021-12-29 11:31:51 +08:00
|
|
|
}
|
|
|
|
|
type SetReceiveMessageOptReq struct {
|
2021-12-29 16:04:08 +08:00
|
|
|
FromUserID string `json:"fromUserID" binding:"required"`
|
2021-12-29 11:31:51 +08:00
|
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
|
|
|
Opt *int32 `json:"opt" binding:"required"`
|
2021-12-29 15:53:56 +08:00
|
|
|
ConversationIDList []string `json:"conversationIDList" binding:"required"`
|
2021-12-29 11:31:51 +08:00
|
|
|
}
|
|
|
|
|
type SetReceiveMessageOptResp struct {
|
|
|
|
|
CommResp
|
2021-12-29 15:52:19 +08:00
|
|
|
ConversationOptResultList []*OptResult `json:"data"`
|
2021-12-29 11:31:51 +08:00
|
|
|
}
|