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

35 lines
809 B

3 years ago
package base_info
import (
open_im_sdk "Open_IM/pkg/proto/sdk_ws"
)
3 years ago
type GetUsersInfoReq struct {
3 years ago
OperationID string `json:"operationID" binding:"required"`
UserIDList []string `json:"userIDList" binding:"required"`
}
3 years ago
type GetUsersInfoResp struct {
3 years ago
CommResp
3 years ago
UserInfoList []*open_im_sdk.PublicUserInfo
3 years ago
Data []map[string]interface{} `json:"data"`
3 years ago
}
3 years ago
3 years ago
type UpdateSelfUserInfoReq struct {
3 years ago
UserInfo
OperationID string `json:"operationID" binding:"required"`
}
type UpdateUserInfoResp struct {
CommResp
}
3 years ago
type GetSelfUserInfoReq struct {
OperationID string `json:"operationID" binding:"required"`
UserID string `json:"userID" binding:"required"`
}
type GetSelfUserInfoResp struct {
CommResp
3 years ago
UserInfo *open_im_sdk.UserInfo `json:"-"`
Data map[string]interface{} `json:"data"`
3 years ago
}