mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
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"`
 | 
						|
}
 |