mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			812 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			812 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package base_info
 | 
						|
 | 
						|
import (
 | 
						|
	open_im_sdk "Open_IM/pkg/proto/sdk_ws"
 | 
						|
)
 | 
						|
 | 
						|
type GetUsersInfoReq struct {
 | 
						|
	OperationID string   `json:"operationID" binding:"required"`
 | 
						|
	UserIDList  []string `json:"userIDList" binding:"required"`
 | 
						|
}
 | 
						|
type GetUsersInfoResp struct {
 | 
						|
	CommResp
 | 
						|
	UserInfoList []*open_im_sdk.PublicUserInfo
 | 
						|
	Data         []map[string]interface{} `json:"data"`
 | 
						|
}
 | 
						|
 | 
						|
type UpdateSelfUserInfoReq struct {
 | 
						|
	ApiUserInfo
 | 
						|
	OperationID string `json:"operationID" binding:"required"`
 | 
						|
}
 | 
						|
 | 
						|
type UpdateUserInfoResp struct {
 | 
						|
	CommResp
 | 
						|
}
 | 
						|
 | 
						|
type GetSelfUserInfoReq struct {
 | 
						|
	OperationID string `json:"operationID" binding:"required"`
 | 
						|
	UserID      string `json:"userID" binding:"required"`
 | 
						|
}
 | 
						|
type GetSelfUserInfoResp struct {
 | 
						|
	CommResp
 | 
						|
	UserInfo *open_im_sdk.UserInfo  `json:"-"`
 | 
						|
	Data     map[string]interface{} `json:"data"`
 | 
						|
}
 |