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.
Open-IM-Server/pkg/base_info/user_api_struct.go

25 lines
509 B

package base_info
import (
open_im_sdk "Open_IM/pkg/proto/sdk_ws"
)
type GetUserInfoReq struct {
OperationID string `json:"operationID" binding:"required"`
UserIDList []string `json:"userIDList" binding:"required"`
}
type GetUserInfoResp struct {
CommResp
UserInfoList []*open_im_sdk.UserInfo
Data []map[string]interface{} `json:"data"`
}
type UpdateUserInfoReq struct {
UserInfo
OperationID string `json:"operationID" binding:"required"`
}
type UpdateUserInfoResp struct {
CommResp
}