You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
package base_info
|
|
|
|
type OptResult struct {
|
|
ConversationID string `json:"conversationID"`
|
|
Result *int32 `json:"result"`
|
|
}
|
|
type GetAllConversationMessageOptReq struct {
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
FromUserID string `json:"fromUserID" binding:"required"`
|
|
}
|
|
type GetAllConversationMessageOptResp struct {
|
|
CommResp
|
|
ConversationOptResultList []*OptResult `json:"data"`
|
|
}
|
|
type GetReceiveMessageOptReq struct {
|
|
ConversationIDList []string `json:"conversationIDList" binding:"required"`
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
FromUserID string `json:"fromUserID" binding:"required"`
|
|
}
|
|
type GetReceiveMessageOptResp struct {
|
|
CommResp
|
|
ConversationOptResultList []*OptResult `json:"data"`
|
|
}
|
|
type SetReceiveMessageOptReq struct {
|
|
FromUserID string `json:"fromUserID" binding:"required"`
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
Opt *int32 `json:"opt" binding:"required"`
|
|
ConversationIDList []string `json:"conversationIDList" binding:"required"`
|
|
}
|
|
type SetReceiveMessageOptResp struct {
|
|
CommResp
|
|
ConversationOptResultList []*OptResult `json:"data"`
|
|
}
|