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.
53 lines
1.2 KiB
53 lines
1.2 KiB
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 `json:"-"`
|
|
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"`
|
|
}
|
|
|
|
type GetFriendIDListFromCacheReq struct {
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
}
|
|
|
|
type GetFriendIDListFromCacheResp struct {
|
|
CommResp
|
|
UserIDList []string `json:"userIDList" binding:"required"`
|
|
}
|
|
|
|
type GetBlackIDListFromCacheReq struct {
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
}
|
|
|
|
type GetBlackIDListFromCacheResp struct {
|
|
CommResp
|
|
UserIDList []string `json:"userIDList" binding:"required"`
|
|
}
|